add user-level "force content warning" moderation feature
This commit is contained in:
parent
2bf8648ebc
commit
ea89348b62
11 changed files with 534 additions and 407 deletions
|
|
@ -0,0 +1,11 @@
|
|||
export class AddUserMandatoryCW1738043621143 {
|
||||
name = 'AddUserCW1738043621143'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" ADD "mandatoryCW" text`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "mandatoryCW"`);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue