mobilizon/priv/repo/migrations/20180607095732_add_uuid_to_comments.exs

16 lines
238 B
Elixir
Raw Normal View History

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