projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'develop' into feature/digest-email
[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 b16f557f0b8082667b7e34992c376f372c476d22..8e9eccbae8b5592ecad540e7c0ea904e9ee465f5 100644
(file)
--- a/
priv/repo/migrations/20190205114625_create_thread_mutes.exs
+++ b/
priv/repo/migrations/20190205114625_create_thread_mutes.exs
@@
-7,6
+7,6
@@
defmodule Pleroma.Repo.Migrations.CreateThreadMutes do
add :context, :string
end
- create
index(:thread_mutes, [:user_id]
)
+ create
unique_index(:thread_mutes, [:user_id, :context], name: :unique_index
)
end
end