diff --git a/.gitignore b/.gitignore index 2fc6b10b..700963cc 100644 --- a/.gitignore +++ b/.gitignore @@ -49,4 +49,5 @@ postgres/ dynamic/ *.mmdb scratch/ -tsconfig.json \ No newline at end of file +tsconfig.json +hydrateSaas.ts \ No newline at end of file diff --git a/server/db/pg/migrate.ts b/server/db/pg/migrate.ts index 70b2ef54..8bbcceb7 100644 --- a/server/db/pg/migrate.ts +++ b/server/db/pg/migrate.ts @@ -11,6 +11,7 @@ const runMigrations = async () => { migrationsFolder: migrationsFolder }); console.log("Migrations completed successfully."); + process.exit(0); } catch (error) { console.error("Error running migrations:", error); process.exit(1);