refactor: rename instance.caughtAt to instance.firstRetrievedAt
This commit is contained in:
@@ -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"`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user