drop latestRequestSentAt of instance

This commit is contained in:
syuilo 2023-01-03 08:48:00 +09:00
parent 771348e887
commit 7093573f0c
7 changed files with 18 additions and 28 deletions

View file

@ -0,0 +1,11 @@
export class removeLatestRequestSentAt1672703171386 {
name = 'removeLatestRequestSentAt1672703171386'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "instance" DROP COLUMN "latestRequestSentAt"`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "instance" ADD "latestRequestSentAt" TIMESTAMP WITH TIME ZONE`);
}
}