enhance(credits): use instance meta instead of hard code
This commit is contained in:
parent
00729a9b8e
commit
06f160a2b4
19 changed files with 219 additions and 11 deletions
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
export class EndingCreditMembers1732695214576 {
|
||||
name = 'EndingCreditMembers1732695214576'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" ADD "endingCreditMembers" character varying(1024) array NOT NULL DEFAULT '{}'`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "endingCreditMembers"`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue