import { defineConfig } from 'drizzle-kit';

export default defineConfig({
	schema: './src/lib/schema.ts',
	dialect: 'mysql',
	dbCredentials: {
		host: process.env.MYSQL_HOST || 'localhost',
		port: Number(process.env.MYSQL_PORT) || 3306,
		user: process.env.MYSQL_USER || 'emly',
		password: process.env.MYSQL_PASSWORD || '',
		database: process.env.MYSQL_DATABASE || 'emly_bugreports'
	}
});
