Conversations: Create or bump on inserting a dm.

This commit is contained in:
lain 2019-04-10 16:33:45 +02:00
commit 280172f6f6
6 changed files with 152 additions and 6 deletions

View file

@ -19,8 +19,8 @@ defmodule Pleroma.Repo.Migrations.CreateConversations do
timestamps()
end
create index(:conversation_participations, [:user_id])
create index(:conversation_participations, [:conversation_id])
create unique_index(:conversation_participations, [:user_id, :conversation_id])
create unique_index(:conversations, [:ap_id])
end
end