Skip to content

Commit 3b09396

Browse files
committed
Fix the encoding of a migration command.
1 parent a613ab9 commit 3b09396

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

webserver/fly-release-command.mjs

+1-1
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('node 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'}));

webserver/restore-prod-from-backup.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ process.env.DATABASE_URL = process.env.ADMIN_DATABASE_URL;
3030
console.log(execSync("prisma migrate deploy", { encoding: "utf-8" }));
3131
console.log(
3232
execSync(
33-
"node prisma/migrations/20240916002444_cooking_history/migrate-history-categories.mjs"
34-
),
35-
{ encoding: "utf-8" }
33+
"node prisma/migrations/20240916002444_cooking_history/migrate-history-categories.mjs",
34+
{ encoding: "utf-8" }
35+
)
3636
);

0 commit comments

Comments
 (0)