Skip to content

Commit 22f12c4

Browse files
authored
extra-thorough test for latest migration (#6567)
* extra-thorough test for latest migration * one more comment * make sure all "to_delete" vertexes are deleted * use assert_equal instead of compare
1 parent 5d4efad commit 22f12c4

File tree

3 files changed

+553
-3
lines changed

3 files changed

+553
-3
lines changed

backend/infrahub/core/migrations/graph/m029_duplicates_cleanup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ class PerformHardDeletes(Query):
554554
async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None: # noqa: ARG002
555555
query = """
556556
CALL {
557-
MATCH (n:Node)
557+
MATCH (n)
558558
WHERE n.to_delete = TRUE
559559
DETACH DELETE n
560560
}

0 commit comments

Comments
 (0)