mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
fix: set publicReactions
of remote users to false
This commit is contained in:
parent
eec885e2f5
commit
dabe38a991
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
export class RemotePublicReactionsSetFalse1723208290742 {
|
||||
name = 'RemotePublicReactionsSetFalse1723208290742'
|
||||
|
||||
public async up(queryRunner) {
|
||||
await queryRunner.query(`UPDATE "user_profile" SET "publicReactions" = FALSE FROM "users" WHERE "user_profile"."userId" = "user"."id" AND "user"."host" IS NULL`);
|
||||
}
|
||||
|
||||
public async down(queryRunner) {
|
||||
// no valid down migration
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user