diff options
| author | kaniini <nenolod@gmail.com> | 2019-06-23 05:42:37 +0000 |
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2019-06-23 05:42:37 +0000 |
| commit | 8b7860f12fd9cdf82332fdd8d9ce5696d5e13dd7 (patch) | |
| tree | 567fabaf7764681503899ecd46676006cc7084ab /priv | |
| parent | 72f365df07e2eba75d3339629b01e5a8913513e6 (diff) | |
| parent | b37ede5df349ce70bca7a51ab1da7e22d262bdfe (diff) | |
| download | pleroma-8b7860f12fd9cdf82332fdd8d9ce5696d5e13dd7.tar.gz pleroma-8b7860f12fd9cdf82332fdd8d9ce5696d5e13dd7.zip | |
Merge branch 'admin-config' into 'develop'
Admin config
See merge request pleroma/pleroma!1328
Diffstat (limited to 'priv')
| -rw-r--r-- | priv/repo/migrations/20190622151019_add_group_key_to_config.exs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/priv/repo/migrations/20190622151019_add_group_key_to_config.exs b/priv/repo/migrations/20190622151019_add_group_key_to_config.exs new file mode 100644 index 000000000..d7a3785d0 --- /dev/null +++ b/priv/repo/migrations/20190622151019_add_group_key_to_config.exs @@ -0,0 +1,12 @@ +defmodule Pleroma.Repo.Migrations.AddGroupKeyToConfig do + use Ecto.Migration + + def change do + alter table("config") do + add(:group, :string) + end + + drop(unique_index("config", :key)) + create(unique_index("config", [:group, :key])) + end +end |
