mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-03-12 14:43:03 +00:00
fix tests
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
parent
36b71733a0
commit
aa74c87443
2 changed files with 3 additions and 1 deletions
|
@ -8,5 +8,7 @@ defmodule Pleroma.Repo.Migrations.AddUserFollowsHashtag do
|
||||||
end
|
end
|
||||||
|
|
||||||
create(unique_index(:user_follows_hashtag, [:user_id, :hashtag_id]))
|
create(unique_index(:user_follows_hashtag, [:user_id, :hashtag_id]))
|
||||||
|
|
||||||
|
create_if_not_exists(index(:user_follows_hashtag, [:hashtag_id]))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -411,7 +411,7 @@ defmodule Mix.Tasks.Pleroma.DatabaseTest do
|
||||||
["scheduled_activities"],
|
["scheduled_activities"],
|
||||||
["schema_migrations"],
|
["schema_migrations"],
|
||||||
["thread_mutes"],
|
["thread_mutes"],
|
||||||
# ["user_follows_hashtag"], # not in pleroma
|
["user_follows_hashtag"],
|
||||||
# ["user_frontend_setting_profiles"], # not in pleroma
|
# ["user_frontend_setting_profiles"], # not in pleroma
|
||||||
["user_invite_tokens"],
|
["user_invite_tokens"],
|
||||||
["user_notes"],
|
["user_notes"],
|
||||||
|
|
Loading…
Reference in a new issue