diff options
| -rw-r--r-- | res/neo4j/reset-db__single_link.cypher | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/neo4j/reset-db__single_link.cypher b/res/neo4j/reset-db__single_link.cypher index ff1d5151..01bfb051 100644 --- a/res/neo4j/reset-db__single_link.cypher +++ b/res/neo4j/reset-db__single_link.cypher @@ -6,8 +6,10 @@ match (n) optional match (n)-[r]-() delete r,n; // // FIXME: use wildcard constraint when supported // +create constraint on (x:Person) assert x.id is unique; +create constraint on (x:Skill) assert x.id is unique; create constraint on (x:Person) assert x.name is unique; -create constraint on (x:Skill) assert x.name is unique; +create constraint on (x:Skill) assert x.name is unique; // init commit block chain create (n:__HEAD:__Commit {hash: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', blob: '', id: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', name: 'root-commit', ts_created: 0 }); |
