Remove floor

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-11-06 12:51:17 +01:00
parent 3d2f9e1ad8
commit 0e7cf89492
15 changed files with 17 additions and 28 deletions

View File

@@ -0,0 +1,15 @@
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