-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* change db table type * 🤖 style: prettify code
- Loading branch information
1 parent
64fe17e
commit 0d8de60
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / eslint
|
||
} | ||
|
||
// ALTER TABLE employees |