Skip to main content

campaign-service - Data Model

Version: 1.0 Status: Draft (proper stub) Owner: Product Last Updated: 2026-04-21 References: SERVICE_OVERVIEW.md, docs/standards/SERVICE_TEMPLATE.md


0. Status

Proper stub per SERVICE_TEMPLATE.md rule: "Stubs are acceptable for an early service (headings only), but every file is present and owned." Populate in lock-step with implementation; do NOT remove.


Intent

Defines the PostgreSQL schema, indexes, RLS policies, ID conventions, and Redis key namespaces owned by campaign-service. See SERVICE_OVERVIEW.md and _report.md.


1. PostgreSQL Schema

TBD - see SERVICE_OVERVIEW.md section 8.

2. Indexes

TBD.

3. RLS Policies

TBD - every tenant-scoped table must have an RLS policy per platform DoD.

4. ID Convention

TBD.

5. Redis Key Namespaces

TBD.