mobilizon/priv/repo/migrations/20200116095117_create_admin...

16 lines
310 B
Elixir
Raw Normal View History

defmodule Mobilizon.Repo.Migrations.CreateAdminSettings do
use Ecto.Migration
def change do
create table(:admin_settings) do
add(:group, :string)
add(:name, :string)
add(:value, :text)
timestamps()
end
create(unique_index(:admin_settings, [:group, :name]))
end
end