summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2021-11-21 18:17:06 +0100
committermarcin mikołajczak <git@mkljczk.pl>2021-11-21 18:17:06 +0100
commit8e040e098b1176098123e52608a9a73adec2b5e5 (patch)
treeed1afd54ad192b9fb2523a65c74ab67ed3b0f7bd /priv
parentcb76faece99c706685b71ad5a13943036b481645 (diff)
Lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20211121000000_create_user_notes.exs4
1 files changed, 1 insertions, 3 deletions
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