postgresql - Design PostgreSQL database schemas
Designs PostgreSQL-specific schemas using appropriate data types, constraints, indexes, performance patterns, and advanced features.
Tags
Updated: 2026-10-03Capabilities
Typical Inputs
What this skill does
- Capture entities and access patterns
- Choose types and constraints
- Add indexes for query paths
- Validate indexes with EXPLAIN
- Plan partitioning and RLS
- Review migration impact
- Apply schema changes safely
Inputs
- Entity definitions
- Query access patterns
- Scale targets
- Retention requirements
- Access control requirements
- Migration context
Outputs
- Schema design guidance
- Data type recommendations
- Constraint definitions
- Indexing recommendations
- Partitioning and RLS plans
- Migration safety guidance
