Visitor table altered: bus -> shared (car).
This commit is contained in:
10
priv/repo/migrations/20210516164418_change_bus_to_shared.exs
Normal file
10
priv/repo/migrations/20210516164418_change_bus_to_shared.exs
Normal file
@@ -0,0 +1,10 @@
|
||||
defmodule Runosaari.Repo.Migrations.ChangeBusToShared do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table("visitors") do
|
||||
remove :bus
|
||||
add :shared, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user