Merge branch 'fix/remove_auto_nsfw' into 'develop'
[akkoma] / priv / repo / migrations / 20201221203824_create_hashtags_objects.exs
index efd60369d70a5ff918ccb99631f22fd6c8cf5d32..581f32b3cbfba6d52b4f7a105c54b97def178f4c 100644 (file)
@@ -7,7 +7,7 @@ defmodule Pleroma.Repo.Migrations.CreateHashtagsObjects do
       add(:object_id, references(:objects), null: false, primary_key: true)
     end
 
-    create_if_not_exists(unique_index(:hashtags_objects, [:hashtag_id, :object_id]))
+    # Note: PK index: "hashtags_objects_pkey" PRIMARY KEY, btree (hashtag_id, object_id)
     create_if_not_exists(index(:hashtags_objects, [:object_id]))
   end
 end