2023.12.2-PrisMisskey.2

bug fix
This commit is contained in:
mattyatea 2024-01-03 01:32:22 +09:00
parent 4d052272e9
commit 6a06ec1347
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ export class Avatardecoration1704206095136 {
name = 'Avatardecoration1704206095136'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "avatar_decoration" ADD "category" character varying(256) NOT NULL`);
await queryRunner.query(`ALTER TABLE "avatar_decoration" ADD "category" character varying(256) NOT NULL DEFAULT '{}'`);
}
async down(queryRunner) {

View File

@ -33,6 +33,7 @@ export class MiAvatarDecoration {
@Column('varchar', {
length: 256,
default: '',
})
public category: string;