mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-21 16:33:48 +01:00
24 lines
1.0 KiB
Diff
24 lines
1.0 KiB
Diff
|
diff --git a/packages/backend/migration/1665091090561-add-renote-muting.js b/packages/backend/migration/1665091090561-add-renote-muting.js
|
||
|
index 2c76aaff5..f8541c818 100644
|
||
|
--- a/packages/backend/migration/1665091090561-add-renote-muting.js
|
||
|
+++ b/packages/backend/migration/1665091090561-add-renote-muting.js
|
||
|
@@ -4,18 +4,6 @@ export class addRenoteMuting1665091090561 {
|
||
|
}
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
- await queryRunner.query(
|
||
|
- `CREATE TABLE "renote_muting" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "muteeId" character varying(32) NOT NULL, "muterId" character varying(32) NOT NULL, CONSTRAINT "PK_renoteMuting_id" PRIMARY KEY ("id"))`,
|
||
|
- );
|
||
|
- await queryRunner.query(
|
||
|
- `CREATE INDEX "IDX_renote_muting_createdAt" ON "muting" ("createdAt") `,
|
||
|
- );
|
||
|
- await queryRunner.query(
|
||
|
- `CREATE INDEX "IDX_renote_muting_muteeId" ON "muting" ("muteeId") `,
|
||
|
- );
|
||
|
- await queryRunner.query(
|
||
|
- `CREATE INDEX "IDX_renote_muting_muterId" ON "muting" ("muterId") `,
|
||
|
- );
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {}
|