mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-27 10:19:59 +00:00
16 lines
310 B
Elixir
16 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
|