support for config groups
This commit is contained in:
parent
410add1c30
commit
982cad0268
12 changed files with 131 additions and 44 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue