Fix production database settings