2024-08-09 15:10:50 +02:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
|
|
|
export class RemotePublicReactionsSetFalse1723208290742 {
|
|
|
|
name = 'RemotePublicReactionsSetFalse1723208290742'
|
|
|
|
|
2024-08-09 17:34:29 +02:00
|
|
|
async up(queryRunner) {
|
|
|
|
await queryRunner.query(`UPDATE "user_profile" SET "publicReactions" = FALSE WHERE "userHost" IS NOT NULL`);
|
2024-08-09 15:10:50 +02:00
|
|
|
}
|
|
|
|
|
2024-08-09 17:34:29 +02:00
|
|
|
async down(queryRunner) {
|
2024-08-09 15:10:50 +02:00
|
|
|
// no valid down migration
|
|
|
|
}
|
|
|
|
}
|