What problem does it solve? Designing a PostgreSQL schema involves many database-specific decisions—data types, indexing strategies, constraints, and partitioning—where wrong choices lead to slow queries, data integrity issues, and painful migrations later. ## Core Features & Use Cases - Data Type Selection: Guidance on choosing correct types such as TIMESTAMPTZ over TIMESTAMP, TEXT over VARCHAR, NUMERIC for money, and BIGINT identity columns over serial. - Indexing & Constraints: Covers B-tree, GIN, GiST, BRIN, partial, covering, and expression indexes, plus PK, FK, UNIQUE, CHECK, and EXCLUDE constraints. - Advanced Features: Partitioning strategies, row-level security, JSONB guidance, generated columns, and extensions like pgvector, PostGIS, and TimescaleDB. - Use Case: When building a new orders table, use this Skill to define proper foreign keys with indexes, status CHECK constraints, and created_at indexes validated with EXPLAIN. ## Quick Start Ask the AI to design a PostgreSQL schema for your application entities, including appropriate data types, indexes, and constraints.