mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-13 14:18:12 +09:00
12 lines
345 B
JavaScript
12 lines
345 B
JavaScript
|
export class RoleBadgeBehavior1711946753142 {
|
||
|
name = 'RoleBadgeBehavior1711946753142'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "role" ADD "badgeBehavior" character varying(256)`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "role" DROP COLUMN "badgeBehavior"`);
|
||
|
}
|
||
|
}
|