Fix deployment migrations