mobilizon/priv/repo/migrations/20180530170808_add_uuid_id_to_events.exs
Thomas Citharel 63b63d9ee2
Encore des commits degeu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:18:33 +02:00

16 lines
234 B
Elixir

defmodule Eventos.Repo.Migrations.AddUUIDIdToEvents do
use Ecto.Migration
def up do
alter table(:events) do
add :uuid, :uuid
end
end
def down do
alter table(:events) do
remove :uuid
end
end
end