enhance: カスタム絵文字にライセンス情報を付与できるように

Resolve #10091
This commit is contained in:
syuilo
2023-03-16 15:08:48 +09:00
parent a9bc22e4e6
commit 8ae9d2eaa8
12 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,11 @@
export class addPropsForCustomEmoji1678945242650 {
name = 'addPropsForCustomEmoji1678945242650'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "emoji" ADD "license" character varying(1024)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "emoji" DROP COLUMN "license"`);
}
}