Skip to content

Commit

Permalink
add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Esurio committed Aug 6, 2024
1 parent 5f5555c commit 43d92e3
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export class CreateScheduledNoteCreation1722954278805 {
name = 'CreateScheduledNoteCreation1722954278805'

async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "note" ADD COLUMN "scheduledAt" TIMESTAMP WITH TIME ZONE`);
}

async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "scheduledAt"`);
}
}

0 comments on commit 43d92e3

Please sign in to comment.