diff options
author | lain <lain@soykaf.club> | 2019-08-02 11:55:41 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-08-02 11:55:41 +0200 |
commit | f88560accd801ac88c60344cef93ef00cf136069 (patch) | |
tree | d74e2ef97428b9f64a66fb253b3c7baffab480f1 /priv/repo/migrations/20190205114625_create_thread_mutes.exs | |
parent | fd4b7239cd6f44a25c9aa4195750e94e0612a3b1 (diff) | |
download | pleroma-f88560accd801ac88c60344cef93ef00cf136069.tar.gz pleroma-f88560accd801ac88c60344cef93ef00cf136069.zip |
Conversations: Add recipient list to conversation participation.
This enables to address the same group of people every time.
Diffstat (limited to 'priv/repo/migrations/20190205114625_create_thread_mutes.exs')
-rw-r--r-- | priv/repo/migrations/20190205114625_create_thread_mutes.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20190205114625_create_thread_mutes.exs b/priv/repo/migrations/20190205114625_create_thread_mutes.exs index 7e44db121..baaf07253 100644 --- a/priv/repo/migrations/20190205114625_create_thread_mutes.exs +++ b/priv/repo/migrations/20190205114625_create_thread_mutes.exs @@ -6,7 +6,7 @@ defmodule Pleroma.Repo.Migrations.CreateThreadMutes do add :user_id, references(:users, type: :uuid, on_delete: :delete_all) add :context, :string end - + create_if_not_exists unique_index(:thread_mutes, [:user_id, :context], name: :unique_index) end end |