From c4760bffa44180d6b51527a072d497542053f224 Mon Sep 17 00:00:00 2001 From: fly_mc Date: Sun, 29 Sep 2024 01:10:11 +0800 Subject: [PATCH] remove old patches --- .../migration/1652210810723-PGroonga.js | 11 ---- .../1652213168020-PGroongaUserName.js | 11 ---- .../1652213556290-PGroongaUserDescription.js | 11 ---- pgroonga.diff | 51 ------------------- 4 files changed, 84 deletions(-) delete mode 100644 packages/backend/migration/1652210810723-PGroonga.js delete mode 100644 packages/backend/migration/1652213168020-PGroongaUserName.js delete mode 100644 packages/backend/migration/1652213556290-PGroongaUserDescription.js delete mode 100644 pgroonga.diff diff --git a/packages/backend/migration/1652210810723-PGroonga.js b/packages/backend/migration/1652210810723-PGroonga.js deleted file mode 100644 index bd3fee34e..000000000 --- a/packages/backend/migration/1652210810723-PGroonga.js +++ /dev/null @@ -1,11 +0,0 @@ -export class PGroonga1652210810723 { - name = 'PGroonga1652210810723' - - async up(queryRunner) { - await queryRunner.query(`CREATE INDEX "IDX_f27f5d88941e57442be75ba9c8" ON "note" USING "pgroonga" ("text")`); - } - - async down(queryRunner) { - await queryRunner.query(`DROP INDEX "public"."IDX_f27f5d88941e57442be75ba9c8"`); - } -} diff --git a/packages/backend/migration/1652213168020-PGroongaUserName.js b/packages/backend/migration/1652213168020-PGroongaUserName.js deleted file mode 100644 index 9e1e75ece..000000000 --- a/packages/backend/migration/1652213168020-PGroongaUserName.js +++ /dev/null @@ -1,11 +0,0 @@ -export class PGroongaUserName1652213168020 { - name = 'PGroongaUserName1652213168020' - - async up(queryRunner) { - await queryRunner.query(`CREATE INDEX "IDX_065d4d8f3b5adb4a08841eae3c" ON "user" USING "pgroonga" ("name" pgroonga_varchar_full_text_search_ops_v2)`); - } - - async down(queryRunner) { - await queryRunner.query(`DROP INDEX "public"."IDX_065d4d8f3b5adb4a08841eae3c"`); - } -} diff --git a/packages/backend/migration/1652213556290-PGroongaUserDescription.js b/packages/backend/migration/1652213556290-PGroongaUserDescription.js deleted file mode 100644 index 7216438ab..000000000 --- a/packages/backend/migration/1652213556290-PGroongaUserDescription.js +++ /dev/null @@ -1,11 +0,0 @@ -export class PGroongaUserDescription1652213556290 { - name = 'PGroongaUserDescription1652213556290' - - async up(queryRunner) { - await queryRunner.query(`CREATE INDEX "IDX_fcb770976ff8240af5799e3ffc" ON "user_profile" USING "pgroonga" ("description" pgroonga_varchar_full_text_search_ops_v2) `); - } - - async down(queryRunner) { - await queryRunner.query(`DROP INDEX "public"."IDX_fcb770976ff8240af5799e3ffc"`); - } -} diff --git a/pgroonga.diff b/pgroonga.diff deleted file mode 100644 index c960ba5d9..000000000 --- a/pgroonga.diff +++ /dev/null @@ -1,51 +0,0 @@ -diff --git a/packages/backend/migration/1652210810723-PGroonga.js b/packages/backend/migration/1652210810723-PGroonga.js -new file mode 100644 -index 000000000..bd3fee34e ---- /dev/null -+++ b/packages/backend/migration/1652210810723-PGroonga.js -@@ -0,0 +1,11 @@ -+export class PGroonga1652210810723 { -+ name = 'PGroonga1652210810723' -+ -+ async up(queryRunner) { -+ await queryRunner.query(`CREATE INDEX "IDX_f27f5d88941e57442be75ba9c8" ON "note" USING "pgroonga" ("text")`); -+ } -+ -+ async down(queryRunner) { -+ await queryRunner.query(`DROP INDEX "public"."IDX_f27f5d88941e57442be75ba9c8"`); -+ } -+} -diff --git a/packages/backend/migration/1652213168020-PGroongaUserName.js b/packages/backend/migration/1652213168020-PGroongaUserName.js -new file mode 100644 -index 000000000..9e1e75ece ---- /dev/null -+++ b/packages/backend/migration/1652213168020-PGroongaUserName.js -@@ -0,0 +1,11 @@ -+export class PGroongaUserName1652213168020 { -+ name = 'PGroongaUserName1652213168020' -+ -+ async up(queryRunner) { -+ await queryRunner.query(`CREATE INDEX "IDX_065d4d8f3b5adb4a08841eae3c" ON "user" USING "pgroonga" ("name" pgroonga_varchar_full_text_search_ops_v2)`); -+ } -+ -+ async down(queryRunner) { -+ await queryRunner.query(`DROP INDEX "public"."IDX_065d4d8f3b5adb4a08841eae3c"`); -+ } -+} -diff --git a/packages/backend/migration/1652213556290-PGroongaUserDescription.js b/packages/backend/migration/1652213556290-PGroongaUserDescription.js -new file mode 100644 -index 000000000..7216438ab ---- /dev/null -+++ b/packages/backend/migration/1652213556290-PGroongaUserDescription.js -@@ -0,0 +1,11 @@ -+export class PGroongaUserDescription1652213556290 { -+ name = 'PGroongaUserDescription1652213556290' -+ -+ async up(queryRunner) { -+ await queryRunner.query(`CREATE INDEX "IDX_fcb770976ff8240af5799e3ffc" ON "user_profile" USING "pgroonga" ("description" pgroonga_varchar_full_text_search_ops_v2) `); -+ } -+ -+ async down(queryRunner) { -+ await queryRunner.query(`DROP INDEX "public"."IDX_fcb770976ff8240af5799e3ffc"`); -+ } -+}