migrationsscript erstellt

This commit is contained in:
ecki
2026-04-06 18:07:00 +02:00
parent 69f94cec83
commit e4e42b0472
8 changed files with 187 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
const { runMigrations } = require("../migrate");
runMigrations()
.then(() => {
console.log("Migrations finished");
process.exit(0);
})
.catch((error) => {
console.error("Migration failed");
console.error(error);
process.exit(1);
});