(self, key, migration)
| 209 | self.graph.add_dependency(migration, key, parent, skip_validation=True) |
| 210 | |
| 211 | def add_external_dependencies(self, key, migration): |
| 212 | for parent in migration.dependencies: |
| 213 | # Skip internal dependencies |
| 214 | if key[0] == parent[0]: |
| 215 | continue |
| 216 | parent = self.check_key(parent, key[0]) |
| 217 | if parent is not None: |
| 218 | self.graph.add_dependency(migration, key, parent, skip_validation=True) |
| 219 | for child in migration.run_before: |
| 220 | child = self.check_key(child, key[0]) |
| 221 | if child is not None: |
| 222 | self.graph.add_dependency(migration, child, key, skip_validation=True) |
| 223 | |
| 224 | def _resolve_replaced_migration_keys(self, migration): |
| 225 | resolved_keys = set() |
no test coverage detected