mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-07 03:59:35 +00:00
f372ca8fa4
Monolithic PR per @johndoe6345789 request showing full architectural migration: DATABASE MIGRATION (235 files): - Moved frontends/nextjs/src/lib/db/ → db-old-to-delete/ (ready for deletion) - Migrated get-current-user.ts to use DBAL directly - Marked 6 remaining files with TODO for auth/package operations DBAL API SIMPLIFICATION: - Removed useDBAL(), createDBALClient() exports - use getDBALClient() only - Removed deprecated .pages, .components, .packages accessors - Single clear way: getDBALClient() → .pageConfigs, .componentNodes, .installedPackages ARCHITECTURE TRANSFORMATION: Before: 235 files in frontend, multiple ways to access DB, legacy adapters After: DBAL-only access, single factory method, no redundancy STATUS DOCS CREATED: - DB_MIGRATION_PLAN.md - Strategy document - FRONTEND_DB_MIGRATION_STATUS.md - Current state & metrics Ready for: Auth operations implementation → Final cleanup → E2E tests Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>