phase 14-15: docker build validation and helm deployment

This commit is contained in:
Celes Renata
2026-04-11 11:59:45 -07:00
parent 7394d241c9
commit ce10afa034
179 changed files with 32559 additions and 576 deletions
@@ -0,0 +1,7 @@
-- Stonks Oracle - Add unique constraint for paper trading position upserts
-- Requirements: 8.1, 8.3
-- The paper trading adapter needs to upsert positions by (broker_account_id, ticker).
-- Add a unique constraint to support ON CONFLICT.
CREATE UNIQUE INDEX IF NOT EXISTS idx_positions_account_ticker
ON positions(broker_account_id, ticker);