Fix production database