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
|