debianize-mobilizon/priv/repo/migrations/20191106114524_remove_floor_from_addresses.exs

16 lines
263 B
Elixir
Raw Normal View History

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