debianize-mobilizon/priv/repo/migrations/20190411124138_event-add-description-slug.exs
Thomas Citharel ddad462076
Add description slug field for events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 14:45:31 +02:00

10 lines
180 B
Elixir

defmodule Elixir.Mobilizon.Repo.Migrations.EventAddDescriptionSlug do
use Ecto.Migration
def change do
alter table(:events) do
add(:slug, :string)
end
end
end