enhance(role): ロールの割り当て時メモを残せるように (MisskeyIO#842)
This commit is contained in:
parent
346c848134
commit
6542ad4a12
14 changed files with 72 additions and 7 deletions
|
@ -0,0 +1,13 @@
|
|||
export class RoleAssignmentMemo1735078824104 {
|
||||
name = 'RoleAssignmentMemo1735078824104'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "role_assignment" ADD "memo" character varying(256)`);
|
||||
await queryRunner.query(`COMMENT ON COLUMN "role_assignment"."memo" IS 'memo for the role assignment'`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`COMMENT ON COLUMN "role_assignment"."memo" IS 'memo for the role assignment'`);
|
||||
await queryRunner.query(`ALTER TABLE "role_assignment" DROP COLUMN "memo"`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue