enable hideOnlineStatus by default for new users
This commit is contained in:
parent
92ffd2a5fc
commit
b7a6ccfef9
3 changed files with 14 additions and 3 deletions
|
|
@ -0,0 +1,11 @@
|
|||
export class AlterUserHideOnlineStatusDefaultTrue1733754069260 {
|
||||
name = 'AlterUserHideOnlineStatusDefaultTrue1733754069260'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" ALTER COLUMN "hideOnlineStatus" SET DEFAULT true`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" ALTER COLUMN "hideOnlineStatus" SET DEFAULT false`);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue