- 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
12 lines
321 B
TypeScript
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; |