mirror of
https://github.com/catdevnull/preciazo.git
synced 2025-02-23 05:26:26 +00:00
14 lines
306 B
TypeScript
14 lines
306 B
TypeScript
import { defineConfig } from 'drizzle-kit';
|
|
if (!process.env.DATABASE_URL) throw new Error('DATABASE_URL is not set');
|
|
|
|
export default defineConfig({
|
|
schema: './src/lib/server/db/schema.ts',
|
|
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL
|
|
},
|
|
|
|
verbose: true,
|
|
strict: true,
|
|
dialect: 'postgresql'
|
|
});
|