From 95565a0aaf7bf8bdee4d772f7d561ca1710ff0fe Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Tue, 11 Sep 2018 15:20:31 +0200 Subject: [PATCH] fix attributes not getting uuids assigned --- src/wanijo/attribute/domain.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wanijo/attribute/domain.clj b/src/wanijo/attribute/domain.clj index 708c80e..c609159 100644 --- a/src/wanijo/attribute/domain.clj +++ b/src/wanijo/attribute/domain.clj @@ -36,12 +36,14 @@ CREATE (a)-[:created_by]->(u) CREATE (a)-[:of]->(s) SET a.type = {type} - SET a.name = {name}") + SET a.name = {name} + SET a.uuid = {attribute_uuid}") (defn create-new! [name type schema-uuid user-uuid] (neo4j/exec-query! create-new {:user_uuid user-uuid :schema_uuid schema-uuid + :attribute_uuid (neo4j/uuid) :type type :name name}))