Skip to content

Commit c12c0b5

Browse files
committed
chore: try to have migrations check just use start-server directly
1 parent 7dd1043 commit c12c0b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nix/tools/dbmate-tool.sh.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ migrate_version() {
215215
# Wait for PostgreSQL to be ready to accept connections
216216
if ! wait_for_postgres; then
217217
echo "Failed to connect to PostgreSQL server"
218+
cleanup
218219
exit 1
219220
fi
220221

0 commit comments

Comments
 (0)