mobilizon.chapril.org-mobil.../priv/repo/migrations/20180607095732_add_uuid_to_comments.exs

16 lines
240 B
Elixir
Raw Normal View History

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