upd: store old date and use it in previous versions
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export class OldDateNoteEdit1697970083001 {
|
||||
name = "OldDateNoteEdit1697970083001";
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "note_edit" ADD COLUMN "oldDate" TIMESTAMP WITH TIME ZONE`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "note_edit" DROP COLUMN "oldDate"`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user