After "mix phx.gen.json BiddingRounds BiddingRound bidding_rounds round_number:integer running:boolean --no-scope".

This commit is contained in:
2026-02-11 10:57:27 +01:00
parent 5f966d485a
commit 14f04befd0
11 changed files with 429 additions and 3 deletions

View File

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