# Codex Pass 02 — Database & Domain Models Task: Implement database models and baseline migrations for the GeoIntel core domain. Read: - docs/DATABASE_SCHEMA.md - contracts/database/* - docs/MODULE_BUILD_CONTRACTS.md Required: - projects - areas - datasets - analysis_runs - detections - segmentations - metrics - quality_checks - exports Acceptance: - Migration can be generated/applied. - Geometry strategy documented in code comments where relevant. - Model tests pass.