Phase 1 | Priority: P0 | Status: Not Started | Covers: FR-001
Part of the Self-Serve Referral Flow implementation. This is the foundational data model that all other referral tasks depend on.
Create the referral_codes database table and migration so referral codes can be generated, stored, and looked up efficiently.
Blocked by: None (first task). Blocks: all other Phase 1 tasks.