boring.tools-poc/packages/database/drizzle.config.ts

12 lines
265 B
TypeScript

import { defineConfig } from 'drizzle-kit'
export default defineConfig({
schema: './src/schema/index.ts',
out: './src/migrations',
dialect: 'postgresql',
dbCredentials: {
url: process.env.POSTGRES_URL as string,
},
verbose: true,
strict: true,
})