Fix db requirement.