1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-26 17:59:26 +00:00
mobilizon/priv/repo/migrations/20200116095117_create_admin_settings.exs
2020-01-29 17:28:11 +01:00

15 lines
310 B
Elixir

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