sso-core/drizzle.config.ts

17 lines
455 B
TypeScript
Raw Normal View History

2024-05-16 20:17:06 +00:00
import { defineConfig } from 'drizzle-kit';
export default defineConfig({
2024-06-01 11:42:08 +00:00
dialect: 'mysql',
schema: './src/lib/server/drizzle/schema.ts',
out: './migrations',
2024-05-16 20:17:06 +00:00
dbCredentials: {
host: process.env.DATABASE_HOST as string,
port: Number(process.env.DATABASE_PORT) || 3306,
database: process.env.DATABASE_DB as string,
user: process.env.DATABASE_USER as string,
password: process.env.DATABASE_PASS as string
},
verbose: true,
strict: true
2024-06-01 11:42:08 +00:00
});