fix: ensureDatabaseExists args
This commit is contained in:
parent
4e27efb6a1
commit
04d03cbc8f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export async function migrations() {
|
|||
const migrate = new Migrate('./prisma/schema.prisma');
|
||||
|
||||
logger.debug('ensuring database exists, if not creating database - may error if no permissions');
|
||||
await ensureDatabaseExists('apply', true, './prisma/schema.prisma');
|
||||
await ensureDatabaseExists('apply', './prisma/schema.prisma');
|
||||
|
||||
const diagnose = await migrate.diagnoseMigrationHistory({
|
||||
optInToShadowDatabase: false,
|
||||
|
|
Loading…
Add table
Reference in a new issue