debianize-mobilizon/priv/repo/migrations/20191002093208_add_draft_flag_to_events.exs
Thomas Citharel 442a011490
Add draft feature
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-02 18:23:32 +02:00

10 lines
196 B
Elixir

defmodule Mobilizon.Storage.Repo.Migrations.AddDraftFlagToEvents do
use Ecto.Migration
def change do
alter table(:events) do
add(:draft, :boolean, default: false)
end
end
end