fix attributes not getting uuids assigned

integration-tests
Josha von Gizycki 6 years ago
parent d0425d1a2c
commit 95565a0aaf

@ -36,12 +36,14 @@
CREATE (a)-[:created_by]->(u) CREATE (a)-[:created_by]->(u)
CREATE (a)-[:of]->(s) CREATE (a)-[:of]->(s)
SET a.type = {type} 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] (defn create-new! [name type schema-uuid user-uuid]
(neo4j/exec-query! (neo4j/exec-query!
create-new create-new
{:user_uuid user-uuid {:user_uuid user-uuid
:schema_uuid schema-uuid :schema_uuid schema-uuid
:attribute_uuid (neo4j/uuid)
:type type :type type
:name name})) :name name}))

Loading…
Cancel
Save