mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-24 07:06:26 +09:00
12 lines
314 B
JavaScript
12 lines
314 B
JavaScript
export class AddDeleteAt1720161864577 {
|
|
name = 'AddDeleteAt1720161864577'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "note" ADD "deleteAt" TIMESTAMP WITH TIME ZONE`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "deleteAt"`)
|
|
}
|
|
}
|