mizzkey/packages/backend/migration/1704206095136-avatardecoration.js
2024-01-03 01:33:20 +09:00

12 lines
379 B
JavaScript

export class Avatardecoration1704206095136 {
name = 'Avatardecoration1704206095136'
async up(queryRunner) {
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"`);
}
}