Fixing production database configuration