mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
Applied formatting to 1487+ files using pnpm format:write - TypeScript/JavaScript files - Svelte components - Astro pages - JSON configs - Markdown docs 13 files still need manual review (Astro JSX comments)
15 lines
426 B
TypeScript
15 lines
426 B
TypeScript
import { config } from 'dotenv';
|
|
import { defineConfig } from 'drizzle-kit';
|
|
import { resolve } from 'path';
|
|
|
|
// Load .env from monorepo root
|
|
config({ path: resolve(__dirname, '../../.env') });
|
|
|
|
export default defineConfig({
|
|
schema: './src/schema/index.ts',
|
|
out: './drizzle',
|
|
dialect: 'postgresql',
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL || 'postgresql://news:news_dev_password@localhost:5434/news_hub',
|
|
},
|
|
});
|