mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-22 17:27:18 +00:00
Migration: Remove superfluous imports
This commit is contained in:
parent
73127cff75
commit
8edead7c1d
|
@ -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