Database configuration for production