Removing dependencies of migrations