projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'refactor/subscription' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20190622151019_add_group_key_to_config.exs
diff --git
a/priv/repo/migrations/20190622151019_add_group_key_to_config.exs
b/priv/repo/migrations/20190622151019_add_group_key_to_config.exs
index d7a3785d09f7c3859f0d3d4a1db19e7b28c97023..867dafaf3825e411691f21d840c15fcb28117c50 100644
(file)
--- a/
priv/repo/migrations/20190622151019_add_group_key_to_config.exs
+++ b/
priv/repo/migrations/20190622151019_add_group_key_to_config.exs
@@
-6,7
+6,7
@@
defmodule Pleroma.Repo.Migrations.AddGroupKeyToConfig do
add(:group, :string)
end
- drop(unique_index("config", :key))
- create(unique_index("config", [:group, :key]))
+ drop
_if_exists
(unique_index("config", :key))
+ create
_if_not_exists
(unique_index("config", [:group, :key]))
end
end