Skip to content

Commit

Permalink
migration
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasrodes committed Jan 6, 2025
1 parent 0d8de60 commit ebd2f98
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions db/migration/1736206740420-UpdateHousekeepingSuggestedReviews2.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { MigrationInterface, QueryRunner } from "typeorm";

export class UpdateHousekeepingSuggestedReviews21736206740420 implements MigrationInterface {

public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`-- sql
ALTER TABLE housekeeping_suggested_reviews DROP INDEX objectType;
`)
}

public async down(): Promise<void> {}

Check warning on line 11 in db/migration/1736206740420-UpdateHousekeepingSuggestedReviews2.ts

View workflow job for this annotation

GitHub Actions / eslint

Unexpected empty async method 'down'

Check warning on line 11 in db/migration/1736206740420-UpdateHousekeepingSuggestedReviews2.ts

View workflow job for this annotation

GitHub Actions / eslint

Unexpected empty async method 'down'

}

0 comments on commit ebd2f98

Please sign in to comment.