Merge branch 'develop' into activation-meta
[akkoma] / priv / repo / migrations / 20200603105113_add_unique_index_to_chat_message_references.exs
1 defmodule Pleroma.Repo.Migrations.AddUniqueIndexToChatMessageReferences do
2 use Ecto.Migration
3
4 def change do
5 create(unique_index(:chat_message_references, [:object_id, :chat_id]))
6 end
7 end