 On June 12, 2017, the Minnesota Twins signed him to a minor league contract, assigning him to the Rochester Redwings (AAA).After allowing 5 runs (4 earned) to the Chicago White Sox, Melville was designated for assignment by the Twins to make room for John Curtiss on the roster.Melville was claimed off waivers by the San Diego Padres on August 26, 2017.