mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-01 00:08:31 +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"`)
|
|
}
|
|
}
|