diff --git a/db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts b/db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts index 6ce84a20a4..09bd3832f5 100644 --- a/db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts +++ b/db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts @@ -10,7 +10,6 @@ export class HousekeepingSuggestedReviews1736188395813 `) } + // eslint-disable-next-line @typescript-eslint/no-empty-function public async down(): Promise {} } - -// ALTER TABLE employees diff --git a/db/migration/1736206740420-UpdateHousekeepingSuggestedReviews2.ts b/db/migration/1736206740420-UpdateHousekeepingSuggestedReviews2.ts new file mode 100644 index 0000000000..19ed46a466 --- /dev/null +++ b/db/migration/1736206740420-UpdateHousekeepingSuggestedReviews2.ts @@ -0,0 +1,14 @@ +import { MigrationInterface, QueryRunner } from "typeorm" + +export class UpdateHousekeepingSuggestedReviews21736206740420 + implements MigrationInterface +{ + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(`-- sql + ALTER TABLE housekeeping_suggested_reviews DROP INDEX objectType; + `) + } + + // eslint-disable-next-line @typescript-eslint/no-empty-function + public async down(): Promise {} +}