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>
This commit is contained in:
Thomas Citharel
2019-08-28 11:28:27 +02:00
parent f928be3200
commit cb96b807a0
15 changed files with 631 additions and 50 deletions

View File

@@ -0,0 +1,9 @@
defmodule Mobilizon.Repo.Migrations.AddOptionsToEvent do
use Ecto.Migration
def change do
alter table(:events) do
add(:options, :map)
end
end
end