summaryrefslogtreecommitdiff
path: root/res/neo4j/reset-db__clean.cypher
AgeCommit message (Collapse)Author
2015-05-01deprecating reset-db__clean.cypher, rm reset-db__single_linkLV-426
2015-04-07Revert "reset-db__clean.cypher: remove constraints we no longer require"Alon Levy
This reverts commit 792ec339802271c79923016104e06ba10e8a64f8. Dropping a non existant constraint is an error. The correct approach is to list all constraings and then delete those, which requires scripting.
2015-04-06reset-db__clean.cypher: remove constraints we no longer requireAlon Levy
2015-04-02res/neo4j/reset-db__clean: remove Person.name and Skill.name constraintsAlon Levy
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.
2015-04-02adding __RZDOC unique name constraint (may change later with per-user ↵LV-426
namespaces)
2015-04-01reset-db__clean.cypher: update, doc default hash valueLV-426
2015-04-01reset-db__clean.cypher: unique __RZDOC.id constraintLV-426
2015-04-01reset-db__clean.cypher: init __RZDOC node, default doc meta NSLV-426
2015-03-01reset-db__clean.cypher: create constraints lastLV-426
2015-02-02neo4j reset-db: split into clean, single-link scriptsLV-426