From 3966add048fda791e6893540d8304b0e626ab9f4 Mon Sep 17 00:00:00 2001 From: Haelwenn Date: Mon, 28 Dec 2020 12:02:16 +0000 Subject: Revert "Merge branch 'features/hashtag-column' into 'develop'" This reverts merge request !2824 --- .../20200731165800_add_hashtags_index_to_objects.exs | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 priv/repo/migrations/20200731165800_add_hashtags_index_to_objects.exs (limited to 'priv') diff --git a/priv/repo/migrations/20200731165800_add_hashtags_index_to_objects.exs b/priv/repo/migrations/20200731165800_add_hashtags_index_to_objects.exs deleted file mode 100644 index b78682821..000000000 --- a/priv/repo/migrations/20200731165800_add_hashtags_index_to_objects.exs +++ /dev/null @@ -1,11 +0,0 @@ -defmodule Pleroma.Repo.Migrations.AddHashtagsIndexToObjects do - use Ecto.Migration - - def change do - drop_if_exists(index(:objects, ["(data->'tag')"], using: :gin, name: :objects_tags)) - - create_if_not_exists( - index(:objects, ["(data->'hashtags')"], using: :gin, name: :objects_hashtags) - ) - end -end -- cgit v1.2.3