migrationsscript erstellt
This commit is contained in:
@@ -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);
|
||||
});
|
||||
Reference in New Issue
Block a user