From b4ab16010c4746ece0cf44ce92a8b4af8cdcb091 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Mon, 2 Oct 2023 23:32:51 +0530 Subject: [PATCH] test: remove force reset Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- tests/playwright/setup/knexHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/setup/knexHelper.ts b/tests/playwright/setup/knexHelper.ts index 3cd6b7b6e3..8fe64fb9cd 100644 --- a/tests/playwright/setup/knexHelper.ts +++ b/tests/playwright/setup/knexHelper.ts @@ -3,7 +3,7 @@ import { promises as fs } from 'fs'; import { getKnexConfig } from '../tests/utils/config'; async function dropAndCreateDb(kn: Knex, dbName: string) { - await kn.raw(`DROP DATABASE IF EXISTS ?? WITH (FORCE)`, [dbName]); + await kn.raw(`DROP DATABASE IF EXISTS ??)`, [dbName]); await kn.raw(`CREATE DATABASE ??`, [dbName]); }