summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authormkljczk <git@mkljczk.pl>2024-12-30 22:41:53 +0100
committermkljczk <git@mkljczk.pl>2024-12-30 22:41:53 +0100
commitaa74c87443230921aadf6022b13eb9e44a031d95 (patch)
tree0f4bd02abee11c916f2dd68762242a7bfd2ffa30 /priv
parent36b71733a06e1ab6288c2f74968e6f04a002e7ec (diff)
downloadpleroma-aa74c87443230921aadf6022b13eb9e44a031d95.tar.gz
pleroma-aa74c87443230921aadf6022b13eb9e44a031d95.zip
fix tests
Signed-off-by: mkljczk <git@mkljczk.pl>
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20221203232118_add_user_follows_hashtag.exs2
1 files changed, 2 insertions, 0 deletions
diff --git a/priv/repo/migrations/20221203232118_add_user_follows_hashtag.exs b/priv/repo/migrations/20221203232118_add_user_follows_hashtag.exs
index 27fff2586..2b5ae91be 100644
--- a/priv/repo/migrations/20221203232118_add_user_follows_hashtag.exs
+++ b/priv/repo/migrations/20221203232118_add_user_follows_hashtag.exs
@@ -8,5 +8,7 @@ defmodule Pleroma.Repo.Migrations.AddUserFollowsHashtag do
end
create(unique_index(:user_follows_hashtag, [:user_id, :hashtag_id]))
+
+ create_if_not_exists(index(:user_follows_hashtag, [:hashtag_id]))
end
end