rudeshark.net/packages/backend/migration/1657759324648-show-ads.js
ThatOneCalculator d16afd3d13 spacing
2022-07-13 23:54:22 -07:00

12 lines
304 B
JavaScript

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