Make showing ads toggleable

This commit is contained in:
ThatOneCalculator 2022-07-13 17:54:12 -07:00
parent e365139961
commit 9b316c3ee7
5 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,11 @@
export class showAds1657759324648 {
name = 'showAds1657759324648'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "showAds" boolean NOT NULL DEFAULT false`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" DROP "showAds"`);
}
}