Fix production database adapter