mizzkey/packages/backend/migration/1704206095136-avatardecoration.js

12 lines
381 B
JavaScript
Raw Normal View History

export class Avatardecoration1704206095136 {
name = 'Avatardecoration1704206095136'
async up(queryRunner) {
2024-01-02 17:32:22 +01:00
await queryRunner.query(`ALTER TABLE "avatar_decoration" ADD "category" character varying(256) NOT NULL DEFAULT '{}'`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "avatar_decoration" DROP COLUMN "category"`);
}
}