mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-01 08:18:45 +09:00
13 lines
406 B
JavaScript
13 lines
406 B
JavaScript
export class NoteUpdatedAt1704185628000 {
|
|
name = 'NoteUpdatedAt1704185628000'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "updatedAt"`);
|
|
await queryRunner.query(`ALTER TABLE "note" ADD "updatedAt" TIMESTAMP WITH TIME ZONE`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "updatedAt"`);
|
|
}
|
|
}
|