アイコンデコレーションのカテゴリ
This commit is contained in:
parent
4cdf048a7c
commit
b7102f67af
1 changed files with 11 additions and 0 deletions
11
packages/backend/migration/1704206095136-avatardecoration.js
Normal file
11
packages/backend/migration/1704206095136-avatardecoration.js
Normal file
|
|
@ -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"`);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue