13 lines
360 B
Elixir
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
|