Lint format files. Updated rng function.
This commit is contained in:
1 parent
5bf1792b38
commit
306ca4a435
144 files changed
+962
-626
No files matched your search
+5
-1
@@ -68,7 +68,11 @@ async function checkDatabaseVersion() {
|
||||
async function applyMigration() {
|
||||
if (!process.env.SKIP_DB_MIGRATION) {
|
||||
const directUrl = process.env.DIRECT_DATABASE_URL || process.env.DATABASE_URL;
|
||||
console.log(execSync('prisma migrate deploy', { env: { ...process.env, DATABASE_URL: directUrl } }).toString());
|
||||
console.log(
|
||||
execSync('prisma migrate deploy', {
|
||||
env: { ...process.env, DATABASE_URL: directUrl },
|
||||
}).toString(),
|
||||
);
|
||||
|
||||
success('Database is up to date.');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user