Conversations: Create or bump on inserting a dm.
This commit is contained in:
parent
64c1c3a407
commit
280172f6f6
6 changed files with 152 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue