Migration: Remove superfluous imports
This commit is contained in:
parent
73127cff75
commit
8edead7c1d
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue