-
-
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.
- Loading branch information
1 parent
64fe17e
commit a09900b
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
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,18 @@ | ||
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 12 in db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts GitHub Actions / eslint
|
||
|
||
} | ||
|
||
|
||
// ALTER TABLE employees | ||
|