mirror of
https://github.com/johndoe6345789/postgres.git
synced 2026-04-24 13:55:00 +00:00
13 lines
261 B
TypeScript
13 lines
261 B
TypeScript
import { defineConfig } from 'drizzle-kit';
|
|
|
|
export default defineConfig({
|
|
out: './migrations',
|
|
schema: './src/models/Schema.ts',
|
|
dialect: 'postgresql',
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL ?? '',
|
|
},
|
|
verbose: true,
|
|
strict: true,
|
|
});
|