sharkey/packages/backend/migration/1710146785086-feat-hide-profilefile.js
ひたりん 09d3449309 Merge pull request #45 from lqvp/master
feat: ドライブの写真をプロフィールから見れなくする
2024-11-04 21:12:14 +09:00

10 lines
352 B
JavaScript

export class FeatHideProfileFile1710146785086 {
name = 'FeatHideProfileFile1710146785086'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "hideProfileFiles" boolean NOT NULL DEFAULT false`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "hideProfileFiles"`);
}
}