mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-01-06 08:55:28 +01:00
11 lines
398 B
JavaScript
11 lines
398 B
JavaScript
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`);
|
|
}
|
|
}
|