Fix deployment migration