blob: 867dafaf3825e411691f21d840c15fcb28117c50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
defmodule Pleroma.Repo.Migrations.AddGroupKeyToConfig do
use Ecto.Migration
def change do
alter table("config") do
add(:group, :string)
end
drop_if_exists(unique_index("config", :key))
create_if_not_exists(unique_index("config", [:group, :key]))
end
end
|