drop lastCommunicatedAt of instance

This commit is contained in:
syuilo
2023-01-03 09:00:42 +09:00
parent 7093573f0c
commit c8bd139713
15 changed files with 19 additions and 27 deletions

View File

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