Add new build and database setup scripts to package.json for production

This commit is contained in:
2025-08-19 23:21:11 +01:00
parent 3704a70575
commit a40a2c022d
9 changed files with 896 additions and 0 deletions

View File

@ -0,0 +1,16 @@
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'
}
});