Doc 1M4.1CLAUDE

Event-Sourced Aggregate Schema

Design an event-sourced database schema.

Prompt template
Design an event-sourced PostgreSQL schema for the [AggregateName] aggregate.

REQUIREMENTS:
  - events table with optimistic concurrency on (stream_id, version).

Sign in free to unlock the full prompt and copy it.

Sign in free
#event-sourcing#schema