12 lines
365 B
JavaScript
12 lines
365 B
JavaScript
|
export class FeatHideActivity1710146785085 {
|
||
|
name = 'FeatHideActivity1710146785085'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "user_profile" ADD "hideActivity" boolean NOT NULL DEFAULT false`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "hideActivity"`);
|
||
|
}
|
||
|
}
|