Migration: Remove superfluous imports

This commit is contained in:
lain 2020-06-03 13:19:38 +02:00
parent 73127cff75
commit 8edead7c1d

View File

@ -1,13 +1,6 @@
defmodule Pleroma.Repo.Migrations.BackfillChatMessageReferences do defmodule Pleroma.Repo.Migrations.BackfillChatMessageReferences do
use Ecto.Migration use Ecto.Migration
alias Pleroma.Chat
alias Pleroma.ChatMessageReference
alias Pleroma.Object
alias Pleroma.Repo
import Ecto.Query
def change do def change do
create(unique_index(:chat_message_references, [:object_id, :chat_id])) create(unique_index(:chat_message_references, [:object_id, :chat_id]))
end end