diff --git a/src/scripts/migrate-and-start.ts b/src/scripts/migrate-and-start.ts index 2770ab90d..e6f2a19ee 100644 --- a/src/scripts/migrate-and-start.ts +++ b/src/scripts/migrate-and-start.ts @@ -16,10 +16,10 @@ const client = new Prisma.PrismaClient(); const migrateFromSequelizeToPrisma = async () => { await execa('prisma', ['migrate', 'resolve', '--applied', '20220101155430_migrate_from_sequelize'], { - preferLocal: true, + preferLocal: true, env: { - DATABASE_URL: process.env.DATABASE_URL - } + DATABASE_URL: process.env.DATABASE_URL, + }, }); }; diff --git a/src/scripts/print-database-url.ts b/src/scripts/print-database-url.ts index 1fb962b94..fda2f6d65 100644 --- a/src/scripts/print-database-url.ts +++ b/src/scripts/print-database-url.ts @@ -1,4 +1,4 @@ import createDatabaseUrl from '../utils/create-database-url.js'; import {DATA_DIR} from '../services/config.js'; -console.log(createDatabaseUrl(DATA_DIR)) \ No newline at end of file +console.log(createDatabaseUrl(DATA_DIR));