forked from potsda.mn/mobilizon
16 lines
263 B
Elixir
16 lines
263 B
Elixir
|
defmodule Mobilizon.Storage.Repo.Migrations.RemoveFloorFromAddresses do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def up do
|
||
|
alter table(:addresses) do
|
||
|
remove(:floor)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def down do
|
||
|
alter table(:addresses) do
|
||
|
add(:floor, :string)
|
||
|
end
|
||
|
end
|
||
|
end
|