Adjust db types