summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/neo4j/reset-db__clean.cypher1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/neo4j/reset-db__clean.cypher b/res/neo4j/reset-db__clean.cypher
index a8348a6c..0cedc651 100644
--- a/res/neo4j/reset-db__clean.cypher
+++ b/res/neo4j/reset-db__clean.cypher
@@ -15,6 +15,7 @@ create (n:__RZDOC_NS_META_a000a000:__COMMIT:__HEAD {hash: 'adc83b19e793491b1c6ea
// FIXME: use wildcard constraint when supported
//
create constraint on (x:__RZDOC) assert x.id is unique;
+create constraint on (x:__RZDOC) assert x.name is unique;
create constraint on (x:Person) assert x.id is unique;
create constraint on (x:Skill) assert x.id is unique;