Migration runner and dependency resolution