Issue #2815895 by littlepixiez, NickWilde, heddn, quietone, rachel_norfolk, vacho: Malformed migration_dependencies breaks all migrations