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 environments4disable-model-invocation: false5---67# Database Schema Validation & Drift Detection89I'll validate your database schema for consistency, detect drift across environments, identify missing indexes, and verify constraints.1011**Supported ORMs & Databases:**12- Prisma (PostgreSQL, MySQL, SQLite)13- TypeORM (PostgreSQL, MySQL, MariaDB, SQLite)14- SQLAlchemy (PostgreSQL, MySQL, SQLite)15- Django ORM (PostgreSQL, MySQL, SQLite)16- Sequelize (PostgreSQL, MySQL, MariaDB, SQLite)1718## Token Optimization1920**Expected range**: 700–2,500 tokens (initial), 100 tokens (cached validation)2122**Caching**: No persistent caching — validates current schemas on each run.2324**Early exit**: Returns immediately if schema has not changed since last validation.2526**Patterns used**: Grep-before-Read, early exit, checksum-based validation, git diff scope default