Skip to content

Commit

Permalink
🔨 fix order of tables to drop
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Jan 27, 2024
1 parent d9d9910 commit df7c239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/migration/1704297774028-DropObsoleteTables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ export class DropObsoleteTables1704297774028 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
// drop tables country_name_tool_continent, country_name_tool_countrydata, country_name_tool_countryname
await queryRunner.query(
`DROP TABLE IF EXISTS country_name_tool_continent`
`DROP TABLE IF EXISTS country_name_tool_countryname`
)
await queryRunner.query(
`DROP TABLE IF EXISTS country_name_tool_countrydata`
)
await queryRunner.query(
`DROP TABLE IF EXISTS country_name_tool_countryname`
`DROP TABLE IF EXISTS country_name_tool_continent`
)
// drop importer_importhistory
await queryRunner.query(`DROP TABLE IF EXISTS importer_importhistory`)
Expand Down

0 comments on commit df7c239

Please sign in to comment.