Database Schema Validation & Drift Detection
I'll validate your database schema for consistency, detect drift across environments, identify missing indexes, and verify constraints.
Supported ORMs & Databases:
- Prisma (PostgreSQL, MySQL, SQLite)
- TypeORM (PostgreSQL, MySQL, MariaDB, SQLite)
- SQLAlchemy (PostgreSQL, MySQL, SQLite)
- Django ORM (PostgreSQL, MySQL, SQLite)
- Sequelize (PostgreSQL, MySQL, MariaDB, SQLite)
Token Optimization
Expected range: 700–2,500 tokens (initial), 100 tokens (cached validation)
Caching: No persistent caching — validates current schemas on each run.
Early exit: Returns immediately if schema has not changed since last validation.
Patterns used: Grep-before-Read, early exit, checksum-based validation, git diff scope default
1---2name: schema-validate3description: Database schema validation and drift detection across environments4---56# Database Schema Validation & Drift Detection78I'll validate your database schema for consistency, detect drift across environments, identify missing indexes, and verify constraints.910**Supported ORMs & Databases:**11- Prisma (PostgreSQL, MySQL, SQLite)12- TypeORM (PostgreSQL, MySQL, MariaDB, SQLite)13- SQLAlchemy (PostgreSQL, MySQL, SQLite)14- Django ORM (PostgreSQL, MySQL, SQLite)15- Sequelize (PostgreSQL, MySQL, MariaDB, SQLite)1617## Token Optimization1819**Expected range**: 700–2,500 tokens (initial), 100 tokens (cached validation)2021**Caching**: No persistent caching — validates current schemas on each run.2223**Early exit**: Returns immediately if schema has not changed since last validation.2425**Patterns used**: Grep-before-Read, early exit, checksum-based validation, git diff scope default