Files
splitwise/backend/drizzle.config.ts
Yadunand Prem 74b7ddf3d6 feat: initial backend setup with Bun, Hono, and Drizzle ORM
- Added documentation for architecture and code plan
- Implemented database schema for users, expenses, settlements, and transactions
- Set up double-entry bookkeeping system with multi-currency support
- Configured Hono web framework with middleware
- Integrated Drizzle ORM for database operations
2025-05-27 17:38:50 -04:00

12 lines
321 B
TypeScript

import type { Config } from 'drizzle-kit';
export default {
schema: './src/db/schema/*',
out: './src/db/migrations',
driver: 'pg',
dbCredentials: {
connectionString: process.env.DATABASE_URL || 'postgres://postgres:postgres@localhost:5432/splitwise',
},
verbose: true,
strict: true,
} satisfies Config;