AUTOGEN: Locations.
This commit is contained in:
16
priv/repo/migrations/20210330193344_create_locations.exs
Normal file
16
priv/repo/migrations/20210330193344_create_locations.exs
Normal file
@@ -0,0 +1,16 @@
|
||||
defmodule Runosaari.Repo.Migrations.CreateLocations do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create table(:locations) do
|
||||
add :name, :string
|
||||
add :address, :string
|
||||
add :reserved_seats, :integer
|
||||
add :max_seats, :integer
|
||||
add :description, :string
|
||||
|
||||
timestamps()
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user