mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 19:23:08 +02:00
15 lines
558 B
JavaScript
15 lines
558 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
class userPublicReactions1634486652000 {
|
||
|
constructor() {
|
||
|
this.name = 'userPublicReactions1634486652000';
|
||
|
}
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "user_profile" ADD "publicReactions" boolean NOT NULL DEFAULT false`);
|
||
|
}
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "publicReactions"`);
|
||
|
}
|
||
|
}
|
||
|
exports.userPublicReactions1634486652000 = userPublicReactions1634486652000;
|