Prepare database configurations for production