14 lines
308 B
TypeScript
14 lines
308 B
TypeScript
import { defineConfig } from 'drizzle-kit';
|
|
import * as dotenv from 'dotenv';
|
|
dotenv.config();
|
|
|
|
export default defineConfig({
|
|
schema: './src/lib/db/schema.ts',
|
|
out: './drizzle',
|
|
driver: 'pg',
|
|
dbCredentials: {
|
|
connectionString: process.env.POSTGRES_URL!,
|
|
},
|
|
verbose: true,
|
|
strict: true,
|
|
});
|