fix: ensureDatabaseExists args

This commit is contained in:
diced 2023-01-18 09:25:54 -08:00
parent 4e27efb6a1
commit 04d03cbc8f
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -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,