forked from FoundKeyGang/FoundKey
Norm
71b3b5a60c
Fixes FoundKeyGang/FoundKey#211 Commits pulled from https://github.com/misskey-dev/misskey/pull/7799 Changelog: Added Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk> Co-authored-by: Johann150 <johann.galle@protonmail.com> Co-authored-by: Francis Dinh <normandy@biribiri.dev> Reviewed-on: FoundKeyGang/FoundKey#212
12 lines
333 B
JavaScript
12 lines
333 B
JavaScript
export class userBlockFederation1631880003000 {
|
|
name = 'userBlockFederation1631880003000';
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "user" ADD "federateBlocks" boolean NOT NULL DEFAULT true`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "federateBlocks"`);
|
|
}
|
|
|
|
}
|