sharkey/packages/backend/migration/1710146785085-feat-hide-activity.js
lqvp 4299588806 Merge pull request #39 from lqvp/master
プライバシーの強化
2024-11-03 21:23:19 +09:00

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"`);
}
}