mobilizon/priv/repo/migrations/20180530170808_add_uuid_id_...

16 lines
238 B
Elixir

defmodule Mobilizon.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