You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
308 B
12 lines
308 B
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/index.ts',
|
|
dialect: 'postgresql',
|
|
dbCredentials: { url: process.env.DATABASE_URL },
|
|
verbose: true,
|
|
strict: true
|
|
});
|