debianize-mobilizon/priv/repo/migrations/20191002093208_add_draft_flag_to_events.exs

10 lines
196 B
Elixir
Raw Normal View History

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