Skip to content

Commit

Permalink
Update db table types (#4388)
Browse files Browse the repository at this point in the history
* change db table type

* 🤖 style: prettify code
  • Loading branch information
lucasrodes authored Jan 6, 2025
1 parent 64fe17e commit 0d8de60
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { MigrationInterface, QueryRunner } from "typeorm"

export class HousekeepingSuggestedReviews1736188395813
implements MigrationInterface
{
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`-- sql
ALTER TABLE housekeeping_suggested_reviews
MODIFY COLUMN objectId INTEGER NOT NULL;
`)
}

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

Check warning on line 13 in db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts

View workflow job for this annotation

GitHub Actions / eslint

Unexpected empty async method 'down'

Check warning on line 13 in db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts

View workflow job for this annotation

GitHub Actions / eslint

Unexpected empty async method 'down'
}

// ALTER TABLE employees

0 comments on commit 0d8de60

Please sign in to comment.