parent
8caf288ac1
commit
71c42bef9b
8 changed files with 36 additions and 8 deletions
9
packages/backend/migration/1676438468213-ad3.js
Normal file
9
packages/backend/migration/1676438468213-ad3.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
export class ad1676438468213 {
|
||||
name = 'ad1676438468213';
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "ad" ADD "startAt" TIMESTAMP WITH TIME ZONE NOT NULL`);
|
||||
}
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "role" DROP COLUMN "startAt"`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue