Split from btcprice monolith. Owns DB, migrations, Binance WebSocket, Kraken OHLC pollers, and exposes a JSON API with SSE price stream. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6 lines
161 B
SQL
6 lines
161 B
SQL
CREATE TABLE binance_price (
|
|
id BIGSERIAL PRIMARY KEY,
|
|
price NUMERIC(18,8) NOT NULL,
|
|
recorded_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
|
);
|