-- Enable TimescaleDB extension CREATE EXTENSION IF NOT EXISTS timescaledb; CREATE EXTENSION IF NOT EXISTS postgis; -- Activity data points will use TimescaleDB hypertable for efficient -- time-series queries on HR, cadence, power, temperature, etc. -- Tables are created by Alembic migrations; this just ensures extensions exist.