Add description slug field for events

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-04-11 14:45:31 +02:00
parent 16a9df48a7
commit ddad462076
3 changed files with 12 additions and 0 deletions

View File

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