Initial commit — eLegal Software monorepo
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import path from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import dotenv from 'dotenv';
|
||||
import { defineConfig } from 'drizzle-kit';
|
||||
|
||||
const _dir = path.dirname(fileURLToPath(import.meta.url));
|
||||
dotenv.config({ path: path.resolve(_dir, '../../.env') });
|
||||
|
||||
export default defineConfig({
|
||||
schema: './src/schema/index.ts',
|
||||
out: './migrations',
|
||||
dialect: 'postgresql',
|
||||
dbCredentials: {
|
||||
url: process.env.DATABASE_URL!,
|
||||
},
|
||||
strict: true,
|
||||
verbose: true,
|
||||
});
|
||||
Reference in New Issue
Block a user