From 1b1046bcdb7ce8d3f177462c92aace62de720091 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Mon, 19 Feb 2024 08:34:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20syuilo/misskey=E6=99=82=E4=BB=A3?= =?UTF-8?q?=E3=81=8B=E3=82=89=E4=BD=BF=E7=94=A8=E3=81=97=E3=81=A6=E3=82=8B?= =?UTF-8?q?=E3=82=B5=E3=83=BC=E3=83=90=E3=83=BC=E3=81=8C=E6=94=B9=E5=A4=89?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3?= =?UTF-8?q?=E3=81=A0=E3=81=A8=E8=AA=A4=E5=88=A4=E5=AE=9A=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=82=8B=E5=95=8F=E9=A1=8C=20(DB=20migration=E3=81=A7=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3)=20(#13389)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 9 +++++++++ ...1-repositoryUrl-from-syuilo-to-misskey-dev.js | 16 ++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 packages/backend/migration/1708266695091-repositoryUrl-from-syuilo-to-misskey-dev.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 09f0dbd09b..ae1bd97eac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,15 @@ - --> +## 202x.x.x (unreleased) + +### General +- Fix: syuilo/misskeyの時代からあるインスタンスが改変されたバージョンであると誤認識される問題 + +### Client + +### Server + ## 202x.x.x (unreleased) diff --git a/packages/backend/migration/1708266695091-repositoryUrl-from-syuilo-to-misskey-dev.js b/packages/backend/migration/1708266695091-repositoryUrl-from-syuilo-to-misskey-dev.js new file mode 100644 index 0000000000..e4dbaa16d0 --- /dev/null +++ b/packages/backend/migration/1708266695091-repositoryUrl-from-syuilo-to-misskey-dev.js @@ -0,0 +1,16 @@ +/* + * SPDX-FileCopyrightText: syuilo and misskey-project + * SPDX-License-Identifier: AGPL-3.0-only + */ + +export class RepositoryUrlFromSyuiloToMisskeyDev1708266695091 { + name = 'RepositoryUrlFromSyuiloToMisskeyDev1708266695091' + + async up(queryRunner) { + await queryRunner.query(`UPDATE "meta" SET "repositoryUrl" = 'https://github.com/misskey-dev/misskey' WHERE "repositoryUrl" = 'https://github.com/syuilo/misskey'`); + } + + async down(queryRunner) { + // no valid down migration + } +}