mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 21:53:08 +02:00
a8e8b2e2cf
Fix #8363
13 lines
413 B
JavaScript
13 lines
413 B
JavaScript
|
|
|
|
export 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"`);
|
|
}
|
|
}
|