diff --git a/src/wanijo/instance/domain.clj b/src/wanijo/instance/domain.clj index c25d4dd..4507dbb 100644 --- a/src/wanijo/instance/domain.clj +++ b/src/wanijo/instance/domain.clj @@ -170,8 +170,9 @@ (p:property)-[pc:of]->(i), (p)-[pac:of]->(a:attribute), (i)-[lt:link_to]->(), - (i)<-[lf:link_from]-() - DELETE pac, pc, cb, ic, p, lt, lf, i") + (i)<-[lf:link_from]-(), + (i)-[tw:tagged_with]->() + DELETE pac, pc, cb, ic, p, lt, lf, tw, i") (defn delete! [uuid] (neo4j/exec-query! delete {:uuid uuid}))