Fix migrations dependencies.
Fix node fixtures used in unittest.