(tableNames, skip, options)
| 266 | } |
| 267 | |
| 268 | async _dropAllTables(tableNames, skip, options) { |
| 269 | for (const tableName of tableNames) { |
| 270 | // if tableName is not in the Array of tables names then don't drop it |
| 271 | if (!skip.includes(tableName.tableName || tableName)) { |
| 272 | await this.dropTable(tableName, { ...options, cascade: true } ); |
| 273 | } |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | /** |
| 278 | * Drop all tables from database |
no test coverage detected