Commit Graph
2 Commits
Author SHA1 Message Date
Mao NakamotoandCursor 199e686351 feat(e2e,ci): workshop proposal journey + migration drift gate
Add dual-persona E2E for workshop propose/approve/reject (#61–62) and wire it
into post-deploy inventory. CI now replays all migrations on pgvector Postgres
with idempotent guards so fresh-DB apply matches prod evolution.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 16:10:39 +02:00
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