mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 03:55:57 +00:00
test: disable force reset
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user