Fix database config on production