Added Ecto, Cassandra and Auctions repo

This commit is contained in:
2026-07-15 22:21:33 +03:00
parent 94d601a458
commit 06e86abf33
11 changed files with 83 additions and 49 deletions
@@ -0,0 +1,11 @@
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