diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-04-02 00:28:16 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-04-02 00:29:00 +0300 |
| commit | ec697c91dd7b4ec26b2683aab8c39c8b21c63cd3 (patch) | |
| tree | c7defb59898b8b754bd28d205dc1c0b92361b415 | |
| parent | 20ce22ec4b840918283016ca3eba9ad678531080 (diff) | |
adding __RZDOC unique name constraint (may change later with per-user namespaces)
| -rw-r--r-- | res/neo4j/reset-db__clean.cypher | 1 |
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; |
