summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20200603105113_add_unique_index_to_chat_message_references.exs
blob: fdf85132ed370be180886c300a1818891c06051a (plain)
1
2
3
4
5
6
7
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToChatMessageReferences do
  use Ecto.Migration

  def change do
    create(unique_index(:chat_message_references, [:object_id, :chat_id]))
  end
end