mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 11:46:43 -06:00
fix(server): 全ての通知が削除されてしまうのを修正
This commit is contained in:
parent
ca99468970
commit
c925e3d281
2 changed files with 8 additions and 2 deletions
|
@ -8,11 +8,18 @@
|
||||||
|
|
||||||
You should also include the user name that made the change.
|
You should also include the user name that made the change.
|
||||||
-->
|
-->
|
||||||
|
## 13.7.4 (unreleased)
|
||||||
|
|
||||||
|
### Note
|
||||||
|
~~13.7.0以前から直接このバージョンにアップデートする場合は全ての通知が削除**されません。**~~
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
- 全ての通知が削除されてしまうのを修正
|
||||||
|
|
||||||
## 13.7.3 (2023/02/23)
|
## 13.7.3 (2023/02/23)
|
||||||
|
|
||||||
### Note
|
### Note
|
||||||
13.7.0以前から直接このバージョンにアップデートする場合は全ての通知が削除**されません。**
|
~~13.7.0以前から直接このバージョンにアップデートする場合は全ての通知が削除**されません。**~~
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@ export class dropGroup1676434944993 {
|
||||||
name = 'dropGroup1676434944993'
|
name = 'dropGroup1676434944993'
|
||||||
|
|
||||||
async up(queryRunner) {
|
async up(queryRunner) {
|
||||||
await queryRunner.query(`TRUNCATE TABLE "notification"`, undefined);
|
|
||||||
await queryRunner.query(`ALTER TABLE "antenna" DROP CONSTRAINT "FK_ccbf5a8c0be4511133dcc50ddeb"`);
|
await queryRunner.query(`ALTER TABLE "antenna" DROP CONSTRAINT "FK_ccbf5a8c0be4511133dcc50ddeb"`);
|
||||||
await queryRunner.query(`ALTER TABLE "notification" DROP CONSTRAINT "FK_8fe87814e978053a53b1beb7e98"`);
|
await queryRunner.query(`ALTER TABLE "notification" DROP CONSTRAINT "FK_8fe87814e978053a53b1beb7e98"`);
|
||||||
await queryRunner.query(`ALTER TABLE "antenna" DROP COLUMN "userGroupJoiningId"`);
|
await queryRunner.query(`ALTER TABLE "antenna" DROP COLUMN "userGroupJoiningId"`);
|
||||||
|
|
Loading…
Reference in a new issue