initial commit
This commit is contained in:
13
packages/backend/drizzle.config.ts
Normal file
13
packages/backend/drizzle.config.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineConfig } from 'drizzle-kit';
|
||||
import * as dotenv from 'dotenv';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
export default defineConfig({
|
||||
schema: './src/db/schema.ts',
|
||||
out: './drizzle',
|
||||
dialect: 'postgresql',
|
||||
dbCredentials: {
|
||||
url: process.env['DATABASE_URL'] ?? 'postgres://user:password@localhost:5432/recommender',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user