diff --git a/packages/backend/migration/1704206095136-avatardecoration.js b/packages/backend/migration/1704206095136-avatardecoration.js new file mode 100644 index 0000000000..ca1989d225 --- /dev/null +++ b/packages/backend/migration/1704206095136-avatardecoration.js @@ -0,0 +1,11 @@ +export class Avatardecoration1704206095136 { + name = 'Avatardecoration1704206095136' + + async up(queryRunner) { + await queryRunner.query(`ALTER TABLE "avatar_decoration" ADD "category" character varying(256) NOT NULL`); + } + + async down(queryRunner) { + await queryRunner.query(`ALTER TABLE "avatar_decoration" DROP COLUMN "category"`); + } +}