Update 1642611822809-emoji-url.js

This commit is contained in:
syuilo 2022-01-20 23:25:59 +09:00
parent fe5e6709a5
commit 4a1ebf5786

View File

@ -9,7 +9,7 @@ module.exports = class emojiUrl1642611822809 {
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "emoji" DROP COLUMN "originalUrl"`);
await queryRunner.query(`ALTER TABLE "emoji" DROP COLUMN "publicUrl"`);
await queryRunner.query(`ALTER TABLE "emoji" RENAME COLUMN "originalUrl" TO "url"`);
}
}