Role timeline setting (#10677)
* ロールタイムライン設定 * isRoleTimeline to isExplorable * ポリシーではないので削除 * 型からも * wip * 足りてなかった説 * wip * listはpublicを表示 * 前回の記載修正( #10671 ) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
af738d9ca9
commit
8dc60cd327
10 changed files with 39 additions and 2 deletions
12
packages/backend/migration/1681870960239-RoleTLSetting.js
Normal file
12
packages/backend/migration/1681870960239-RoleTLSetting.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
export class RoleTLSetting1681870960239 {
|
||||
name = 'RoleTLSetting1681870960239'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "role" ADD "isExplorable" boolean NOT NULL DEFAULT false`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "role" DROP COLUMN "isExplorable"`);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue