diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-02 01:22:49 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-02 01:22:51 +0300 |
| commit | da8f0d1b5e26bbe1bbd9ee1ced1d0760edc40eba (patch) | |
| tree | adc3631f7a19a4d1fbb9efd9a2cbd25b7cef01b4 /res | |
| parent | b5dbfff3d4039107e9a4666a98cfa26c1f02162e (diff) | |
res/neo4j/reset-db__clean: remove Person.name and Skill.name constraints
Reasoning: this constraint is global and so prevents a name from
repeating in two documents.
Note: client already prevents creation of same name node (regardless of
type).
Note: in the future we will want to reintroduce this but it will have to
be per doc, using the doc label.
Diffstat (limited to 'res')
| -rw-r--r-- | res/neo4j/reset-db__clean.cypher | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/res/neo4j/reset-db__clean.cypher b/res/neo4j/reset-db__clean.cypher index 0cedc651..5c8c4950 100644 --- a/res/neo4j/reset-db__clean.cypher +++ b/res/neo4j/reset-db__clean.cypher @@ -19,6 +19,4 @@ 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; -create constraint on (x:Person) assert x.name is unique; -create constraint on (x:Skill) assert x.name is unique; |
