projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job...
[akkoma]
/
priv
/
repo
/
migrations
/
20190205114625_create_thread_mutes.exs
diff --git
a/priv/repo/migrations/20190205114625_create_thread_mutes.exs
b/priv/repo/migrations/20190205114625_create_thread_mutes.exs
index 7e44db1214ab8ebefb4cadbed85fb4d68f2fa472..baaf072536cef5e97a41c08e537a9cadde70d65d 100644
(file)
--- 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