1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-26 09:49:12 +00:00
mobilizon/priv/repo/migrations/20190902082656_add_options_to_event.exs
Thomas Citharel cb96b807a0
Improve event creation form by introducting EventOptions
It's a subentity that holds additional metadata in a map database type

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-02 17:11:27 +02:00

9 lines
167 B
Elixir

defmodule Mobilizon.Repo.Migrations.AddOptionsToEvent do
use Ecto.Migration
def change do
alter table(:events) do
add(:options, :map)
end
end
end