mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
14 lines
275 B
TypeScript
14 lines
275 B
TypeScript
import { config } from 'dotenv'
|
|
import { defineConfig } from 'drizzle-kit'
|
|
|
|
config({ path: '../../.env' })
|
|
|
|
export default defineConfig({
|
|
out: './drizzle',
|
|
schema: './src/schema.ts',
|
|
dialect: 'postgresql',
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL!,
|
|
},
|
|
})
|