mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-27 07:14:56 +00:00
DBAL Improvements: - Move Prisma schema to DBAL ownership (dbal/development/prisma/schema.prisma) - Create Prisma client factory (getPrismaClient, createPrismaClient) - Create DBAL client factory (getDBALClient, useDBAL) - Set up seed orchestration structure to load from /seed/ folder - Add db scripts to DBAL package.json (db:generate, db:push, db:studio) - Export all factories and seedDatabase from DBAL Architecture Documentation: - Create ARCHITECTURE.md: Complete blueprint and data flow explanation - Update CLAUDE.md: Clear guidance to avoid common bot errors - Clarify /schemas folder as source of truth for architecture - Emphasize seed data in /seed/, not in TypeScript code - Show correct patterns: getDBALClient(), entity operations Status: - Phase 1 (DBAL Improvements): COMPLETE - Phase 2 (Next.js Cleanup): PENDING - Phase 3 (Build System): PENDING Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>