parent
4d052272e9
commit
6a06ec1347
|
@ -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) {
|
||||
|
|
|
@ -33,6 +33,7 @@ export class MiAvatarDecoration {
|
|||
|
||||
@Column('varchar', {
|
||||
length: 256,
|
||||
default: '',
|
||||
})
|
||||
public category: string;
|
||||
|
||||
|
|
Loading…
Reference in New Issue