- Add comments explaining unique key composition: - CDC events: (source_topic, offset) = Kafka topic + message offset - Outbox events: (source_service, event_id) = service name + outbox ID - Fix contribution-service migration: - Extend source_service column from VARCHAR(50) to VARCHAR(100) - Set source_service as NOT NULL to match schema - Use snake_case for index name consistency - Clarify that offset/event_id are NOT database auto-increment IDs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| migrations | ||
| schema.prisma | ||