feat: refine announcement (misskey-dev#11497)

This commit is contained in:
まっちゃとーにゅ
2023-08-18 08:03:03 +09:00
parent 576251200f
commit d14137f0ea
37 changed files with 1223 additions and 222 deletions

View File

@@ -0,0 +1,11 @@
export class RefineAnnouncement21691657412740 {
name = 'RefineAnnouncement21691657412740'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "announcement" ADD "icon" character varying(256) NOT NULL DEFAULT 'info'`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "announcement" DROP COLUMN "icon"`);
}
}