refactor: rename instance.caughtAt to instance.firstRetrievedAt

This commit is contained in:
syuilo 2023-01-16 05:02:38 +09:00
parent 7e5f3dbf11
commit 30fced38c4
10 changed files with 23 additions and 11 deletions

View file

@ -0,0 +1,11 @@
export class firstRetrievedAt1673812883772 {
name = 'firstRetrievedAt1673812883772'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "instance" RENAME COLUMN "caughtAt" TO "firstRetrievedAt"`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "instance" RENAME COLUMN "firstRetrievedAt" TO "caughtAt"`);
}
}