ロールのユーザーリストを非公開にできるように (#10987)
* ロールのユーザーリストを非公開にできるように * Changelog update
This commit is contained in:
11
packages/backend/migration/1686381571997-roleuserhidden.js
Normal file
11
packages/backend/migration/1686381571997-roleuserhidden.js
Normal file
@@ -0,0 +1,11 @@
|
||||
export class roleuserhidden1686381571997 {
|
||||
name = 'roleuserhidden1686381571997'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "role" ADD "isPublicUsers" boolean NOT NULL DEFAULT true`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "role" DROP COLUMN "isPublicUsers"`);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user