spacing
This commit is contained in:
parent
38e0ff9875
commit
d16afd3d13
1 changed files with 6 additions and 6 deletions
|
@ -1,11 +1,11 @@
|
||||||
export class showAds1657759324648 {
|
export class showAds1657759324648 {
|
||||||
name = 'showAds1657759324648'
|
name = 'showAds1657759324648'
|
||||||
|
|
||||||
async up(queryRunner) {
|
async up(queryRunner) {
|
||||||
await queryRunner.query(`ALTER TABLE "user_profile" ADD "showAds" boolean NOT NULL DEFAULT false`);
|
await queryRunner.query(`ALTER TABLE "user_profile" ADD "showAds" boolean NOT NULL DEFAULT false`);
|
||||||
}
|
}
|
||||||
|
|
||||||
async down(queryRunner) {
|
async down(queryRunner) {
|
||||||
await queryRunner.query(`ALTER TABLE "user_profile" DROP "showAds"`);
|
await queryRunner.query(`ALTER TABLE "user_profile" DROP "showAds"`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue