Design a normalized PostgreSQL schema with the right constraints, indexes, and migration plan for your access patterns.
## CONTEXT I am designing or improving a PostgreSQL schema and want it to be correct, fast for my real queries, and safe to migrate. I want proper constraints, thoughtful indexing driven by access patterns, and a migration strategy that does not lock tables in production. I am on a recent PostgreSQL version in…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro