sharkey/packages/backend/migration/1709421948931-ScgeduledNoteDelete.js
2024-10-22 13:06:54 +09:00

12 lines
316 B
JavaScript
Executable File

export class ScheduledNoteDelete1709187210308 {
name = 'ScheduledNoteDelete1709187210308'
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"`);
}
}