You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add getSchemaIndexes and validate orphan indexes in createIndex
Adds getSchemaIndexes() to match the existing getSchemaAttributes()
pattern. When an index exists in physical schema but not metadata
(orphan), createIndex now validates the physical definition matches.
Mismatched orphans are dropped and recreated.
- Adapter: abstract getSchemaIndexes() + getSupportForSchemaIndexes()
- MariaDB: queries INFORMATION_SCHEMA.STATISTICS
- All others: default stubs (empty array / false)
- Database::createIndex: validates orphan index shape before reuse
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments