From 04d03cbc8f7540b4ddf37e3277ba54fae632c7ae Mon Sep 17 00:00:00 2001 From: diced Date: Wed, 18 Jan 2023 09:25:54 -0800 Subject: [PATCH] fix: ensureDatabaseExists args --- src/server/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/util.ts b/src/server/util.ts index b3cb526..94c778e 100644 --- a/src/server/util.ts +++ b/src/server/util.ts @@ -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,