feat: インスタンスのテーマカラーを設定できるように
This commit is contained in:
parent
624aef6979
commit
4ae1a65958
10 changed files with 57 additions and 2 deletions
|
@ -0,0 +1,13 @@
|
|||
const { MigrationInterface, QueryRunner } = require("typeorm");
|
||||
|
||||
module.exports = class instanceThemeColor1644395759931 {
|
||||
name = 'instanceThemeColor1644395759931'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" ADD "themeColor" character varying(512)`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "themeColor"`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue