Visitor table altered: bus -> shared (car).

This commit is contained in:
codevictory
2021-05-16 20:15:55 +03:00
parent ada37d8805
commit ca0712d0c6
8 changed files with 59 additions and 19 deletions

View 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