forked from FoundKeyGang/FoundKey
Johann150
03aa41664f
The columns "mascotImageUrl" and "errorImageUrl" are unused in the web client. It is unlikely that they are being used elsewhere.
14 lines
572 B
JavaScript
14 lines
572 B
JavaScript
export class removeUnusedImageUrls1654124623992 {
|
|
name = 'removeUnusedImageUrls1654124623992'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "mascotImageUrl"`);
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "errorImageUrl"`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "meta" ADD "mascotImageUrl" character varying(512) DEFAULT '/assets/ai.png'`);
|
|
await queryRunner.query(`ALTER TABLE "meta" ADD "errorImageUrl" character varying(512) DEFAULT 'https://xn--931a.moe/aiart/yubitun.png'`);
|
|
}
|
|
|
|
}
|