If the magistrate determines that a release on recognizance or with conditions will not reasonably ensure the safety of the community and the appearance of the defendant as required, then the magistrate must require bail to be given.
T.C.A. § 40-11-117