X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20211121000000_create_user_notes.exs;h=b75e11695ccb1add21c2b4cb5ce7c669efb3d054;hb=4c3971aebd9cb950e300aee17598a7be6e94691c;hp=8fc23749f7ac1a75db088056aa80c2fdc9be0d2a;hpb=40414bf177c93b39d75c6091ef0ce1db093edb6f;p=akkoma diff --git a/priv/repo/migrations/20211121000000_create_user_notes.exs b/priv/repo/migrations/20211121000000_create_user_notes.exs index 8fc23749f..b75e11695 100644 --- a/priv/repo/migrations/20211121000000_create_user_notes.exs +++ b/priv/repo/migrations/20211121000000_create_user_notes.exs @@ -10,8 +10,6 @@ defmodule Pleroma.Repo.Migrations.CreateUserNotes do timestamps() end - create_if_not_exists( - unique_index(:user_notes, [:source_id, :target_id]) - ) + create_if_not_exists(unique_index(:user_notes, [:source_id, :target_id])) end end