mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-24 17:01:45 +00:00
16 lines
238 B
Elixir
16 lines
238 B
Elixir
|
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
|