14 lines
354 B
Elixir
14 lines
354 B
Elixir
defmodule BeetRoundServer.Repo.Migrations.CreateBiddingRounds do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table(:bidding_rounds, primary_key: false) do
|
|
add :id, :binary_id, primary_key: true
|
|
add :round_number, :integer
|
|
add :running, :boolean, default: false, null: false
|
|
|
|
timestamps(type: :utc_datetime)
|
|
end
|
|
end
|
|
end
|