12 lines
309 B
Elixir
12 lines
309 B
Elixir
defmodule NeonVertigoService.Repo.Migrations.AddAuctionsTable do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table("auctions", primary_key: false) do
|
|
add :gid, :string, primary_key: true
|
|
add :author_gid, :string, null: false
|
|
add :starting_price, :decimal, null: false
|
|
end
|
|
end
|
|
end
|