mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-04 02:02:08 +01:00
699cbd0d77
https://github.com/misskey-dev/misskey/pull/14383#pullrequestreview-2230486515 Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
16 lines
444 B
JavaScript
16 lines
444 B
JavaScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export class RemotePublicReactionsSetFalse1723208290742 {
|
|
name = 'RemotePublicReactionsSetFalse1723208290742'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`UPDATE "user_profile" SET "publicReactions" = FALSE WHERE "userHost" IS NOT NULL`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
// no valid down migration
|
|
}
|
|
}
|