import * as Knex from 'knex' import { TableName } from '../src/index' export async function dropTables(dbh: Knex, tbs: readonly TableName[]): Promise { for (const tb of tbs) { await dbh.raw(`DROP TABLE IF EXISTS "${tb}" CASCADE;`).then() } }