diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-03-30 21:00:46 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-04-01 22:25:55 +0300 |
| commit | a07d6306340ae2f5978af173d7bb5a4c5683ada5 (patch) | |
| tree | 935163c48baefb9551a70445a11db8b756b080ab | |
| parent | 2d926c1dede86ab5736f3c17acf1babf0dbde4dd (diff) | |
reset-db__clean.cypher: unique __RZDOC.id constraint
| -rw-r--r-- | res/neo4j/reset-db__clean.cypher | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/neo4j/reset-db__clean.cypher b/res/neo4j/reset-db__clean.cypher index e3034121..f63e325d 100644 --- a/res/neo4j/reset-db__clean.cypher +++ b/res/neo4j/reset-db__clean.cypher @@ -14,6 +14,8 @@ create (n:__RZDOC_NS_META_a000a000:__Commit:__HEAD {hash: 'da39a3ee5e6b4b0d3255b // // FIXME: use wildcard constraint when supported // +create constraint on (x:__RZDOC) assert x.id is unique; + 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; |
