Files
metabuilder/dbal
copilot-swe-agent[bot] a144295709 Remove hardcoded absolute paths, use relative paths for database fallback
Fixed issue where absolute bot paths were hardcoded in Prisma configuration:
- Changed fallback from 'file:/home/runner/work/metabuilder/metabuilder/prisma/prisma/dev.db'
  to 'file:../../prisma/prisma/dev.db' in both files
- This makes the code portable and works regardless of deployment location
- Verified dev server starts correctly and database operations work with relative path

Files modified:
- frontends/nextjs/src/lib/config/prisma.ts
- dbal/development/src/adapters/prisma/context.ts

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 13:22:49 +00:00
..

DBAL - Database Abstraction Layer

A language-agnostic database abstraction layer that provides a secure interface between client applications and database backends.

Structure

dbal/
├── development/     # TypeScript implementation (fast iteration)
├── production/      # C++ implementation (security & performance)
├── shared/          # Shared resources (API specs, tools, etc.)
└── docs/            # Documentation

Development

TypeScript (Development)

cd development
npm install
npm run build
npm test

C++ (Production)

cd production
# See production/docs/ for C++ build instructions

Shared Resources

  • API Schemas: shared/api/schema/
  • Tools: shared/tools/ (codegen, build assistant)
  • Scripts: shared/scripts/ (build, test)

License

MIT - See LICENSE file.