From d743320651b6044d174f4388e2228b424d0576a8 Mon Sep 17 00:00:00 2001 From: Neo Ryo Date: Fri, 12 Apr 2024 11:00:57 +0200 Subject: [PATCH] test on pre commit hook --- server/migrations/1712732757287-New-Country-Table.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/migrations/1712732757287-New-Country-Table.ts b/server/migrations/1712732757287-New-Country-Table.ts index 267ae846e..44a863010 100644 --- a/server/migrations/1712732757287-New-Country-Table.ts +++ b/server/migrations/1712732757287-New-Country-Table.ts @@ -21,6 +21,7 @@ export class NewCountryTable1712732757287 implements MigrationInterface { } public async down(queryRunner: QueryRunner): Promise { + // dropping table and losing data await queryRunner.query(`DROP TABLE IF EXISTS country;`); } }