Fix db config for production