 g-butandClaude Opus 4.6
|
4c6f6d0086
|
fix: database SSOT violations — migrations, TABLE_NAMES, transactions, indexes
- Renumber 8 duplicate migration files (002, 004, 005, 008, 020, 027, 040)
that caused silent skipping during execution
- Clean TABLE_NAMES: add 12 missing schema tables, keep legacy raw-SQL
tables with clear comments, remove truly phantom entries
- Wrap bulk import product+inventory in transaction (was 2 separate writes)
- Wrap marketplace conversation+message+metadata in transaction (race fix)
- Add missing indexes: listings(verifiedAt), listings(priceChf),
users(isStaff, createdAt) + migration 055
- Sync Drizzle schema with new indexes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-04 21:02:36 +02:00 |
|