Bids schema and creating

This commit is contained in:
2026-07-17 21:11:39 +03:00
parent 7cff348d0d
commit cd87a45655
5 changed files with 90 additions and 1 deletions
@@ -0,0 +1,12 @@
defmodule NeonVertigoService.Repo.Migrations.AddBidsTable do
use Ecto.Migration
def change do
create table("bids", primary_key: false) do
add :auction_gid, :string, primary_key: true
add :bid_timestamp, :timestamp, cluster_key: true
add :bidder_gid, :string, cluster_key: true
add :bid, :decimal, null: false
end
end
end