Skip to content

Commit a9f81e6

Browse files
committed
Try running the migration script via node instead of shell.
1 parent e803455 commit a9f81e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webserver/fly-release-command.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ if (process.env.FLY_APP_NAME === 'vlach-cookbook-staging') {
2121

2222
process.env.DATABASE_URL = process.env.ADMIN_DATABASE_URL;
2323
console.log(execSync('prisma migrate deploy', { encoding: 'utf-8' }));
24-
console.log(execSync('prisma/migrations/20240916002444_cooking_history/migrate-history-categories.mjs'), {encoding: 'utf-8'});
24+
console.log(execSync('node prisma/migrations/20240916002444_cooking_history/migrate-history-categories.mjs'), {encoding: 'utf-8'});

0 commit comments

Comments
 (0)