Files
service/priv/repo/migrations/20260716122932_add_bids_table.exs
T
2026-07-17 23:22:13 +03:00

13 lines
360 B
Elixir

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