mirror of
https://github.com/spartan-ng/spartan.git
synced 2026-09-22 16:41:38 +08:00
13 lines
249 B
TypeScript
13 lines
249 B
TypeScript
// drizzle.config.ts
|
|
import { defineConfig } from 'drizzle-kit';
|
|
|
|
export default defineConfig({
|
|
out: './apps/app/drizzle',
|
|
dialect: 'postgresql',
|
|
schema: './apps/app/src/db.ts',
|
|
|
|
dbCredentials: {
|
|
url: `${process.env['DATABASE_URL']}`,
|
|
},
|
|
});
|