What problem does it solve? Designing production database schemas involves many subtle pitfalls — wrong timestamp types, missing foreign key indexes, locking migrations, and connection exhaustion in serverless environments. This Skill provides concrete patterns and anti-patterns for schema design, migrations, indexing, and ORM selection so you avoid costly mistakes. ## Core Features & Use Cases - Schema Design Patterns: Standard table templates with TIMESTAMPTZ, identity columns, soft deletes, audit trails, and multi-tenancy via row-level security. - Migration & Indexing Guidance: Zero-downtime migration strategies, composite index column ordering, and index type selection (B-tree, GIN, HNSW, BRIN). - ORM & Database Selection: Decision tables for Drizzle, Prisma, Kysely, SQLAlchemy, and databases from PostgreSQL to pgvector. - Use Case: When building a new multi-tenant SaaS app, use this Skill to generate a schema with RLS tenant isolation, proper FK indexes, and a safe migration plan. ## Quick Start Ask the AI to design a PostgreSQL schema for your application with proper indexes, soft deletes, and a zero-downtime migration plan.