- Poll Strike API every 10s, store all rates as JSONB in strike_price table - Move Docker env vars to .env file, use shared network for cross-project communication - Add startup retry (5x 5s) for Frankfurter poller to handle container race condition Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6 lines
158 B
SQL
6 lines
158 B
SQL
CREATE TABLE strike_price (
|
|
id BIGSERIAL PRIMARY KEY,
|
|
rates JSONB NOT NULL,
|
|
recorded_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
|
);
|