debianize-mobilizon/priv/repo/migrations/20180530170808_add_uuid_id_to_events.exs

16 lines
234 B
Elixir
Raw Normal View History

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