debianize-mobilizon/priv/repo/migrations/20210805142745_add_metadata_for_events.exs
Thomas Citharel 5f3d1f89df
Allow to add metadata to an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 16:16:14 +02:00

10 lines
179 B
Elixir

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