Files
home-service/backend/drizzle.config.ts

12 lines
301 B
TypeScript

import { defineConfig } from 'drizzle-kit';
export default defineConfig({
schema: './src/database/schema.ts',
out: './migrations',
dialect: 'postgresql',
dbCredentials: {
// PGLite will be initialized in code
url: process.env.DATABASE_URL || 'postgresql://localhost/events',
},
});