17 lines
357 B
TypeScript
17 lines
357 B
TypeScript
|
import { defineConfig } from 'drizzle-kit';
|
||
|
|
||
|
export default defineConfig({
|
||
|
schema: './src/lib/db/schema.ts',
|
||
|
out: './drizzle',
|
||
|
dialect: 'mysql',
|
||
|
dbCredentials: {
|
||
|
url: process.env.DATABASE_URL!,
|
||
|
},
|
||
|
verbose: true,
|
||
|
strict: true,
|
||
|
// DigitalOcean Managed Database specific settings
|
||
|
introspect: {
|
||
|
casing: 'camel'
|
||
|
}
|
||
|
});
|