mirror of
https://github.com/soconnor0919/hristudio.git
synced 2025-12-11 06:34:44 -05:00
15 lines
306 B
TypeScript
15 lines
306 B
TypeScript
import 'dotenv/config';
|
|
import { config } from 'dotenv';
|
|
import { defineConfig } from 'drizzle-kit';
|
|
|
|
config({ path: '.env.local' });
|
|
|
|
export default defineConfig({
|
|
out: './drizzle',
|
|
schema: './src/db/schema.ts',
|
|
dialect: 'postgresql',
|
|
dbCredentials: {
|
|
url: process.env.POSTGRES_URL!,
|
|
},
|
|
});
|