diff options
author | marcin mikołajczak <git@mkljczk.pl> | 2022-01-10 20:04:14 +0100 |
---|---|---|
committer | marcin mikołajczak <git@mkljczk.pl> | 2022-01-10 20:04:14 +0100 |
commit | 4f249b23977d7426c6249875b538c7a6c1b239ff (patch) | |
tree | 618a325cd7a408d9cb945d7e15ffddbdef2f281d /priv | |
parent | 9032d065e6710400420320edbee9a9ca5e490eae (diff) | |
parent | 753a9b3f323c72f2ecc147733695c52488a06895 (diff) | |
download | pleroma-4f249b23977d7426c6249875b538c7a6c1b239ff.tar.gz pleroma-4f249b23977d7426c6249875b538c7a6c1b239ff.zip |
Merge remote-tracking branch 'origin/develop' into account-endorsements
Diffstat (limited to 'priv')
-rw-r--r-- | priv/repo/migrations/20211229075801_user_relationships_target_id_relationship_type_index.exs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/repo/migrations/20211229075801_user_relationships_target_id_relationship_type_index.exs b/priv/repo/migrations/20211229075801_user_relationships_target_id_relationship_type_index.exs new file mode 100644 index 000000000..f3eb8409f --- /dev/null +++ b/priv/repo/migrations/20211229075801_user_relationships_target_id_relationship_type_index.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.UserRelationshipsTargetIdRelationshipTypeIndex do + use Ecto.Migration + + def change do + create_if_not_exists(index(:user_relationships, [:target_id, :relationship_type])) + end +end |