What problem does it solve? Designing and evolving a PostgreSQL database in a multi-tenant NestJS modulith is error-prone: weak tenant isolation, unsafe migrations, wrong data types, and cross-module coupling can silently compromise data integrity. This Skill provides concrete modeling rules, review heuristics, and anti-patterns so schema decisions stay consistent with the project's architecture. ## Core Features & Use Cases - Multi-tenant schema modeling: Enforces schema-per-tenant isolation, correct data types (bigint identity, numeric, timestamptz, disciplined jsonb), and explicit constraints. - TypeORM and migration review: Checks entities and versioned migrations for destructive changes, missing indexes, and rollback plans. - Audit and sensitive-data design: Guides audit trail structures, retention policies, and logical deletion for compliance-sensitive data. - Use Case: When adding a billing module, use this Skill to design the invoices table with numeric money columns, tenant-scoped uniqueness, proper foreign key indexes, and a reversible migration. ## Quick Start Ask the assistant to review your TypeORM entity and its migration for multi-tenant safety, correct data types, and missing indexes.