From 792ec339802271c79923016104e06ba10e8a64f8 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 6 Apr 2015 21:17:21 +0300 Subject: reset-db__clean.cypher: remove constraints we no longer require --- res/neo4j/reset-db__clean.cypher | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/res/neo4j/reset-db__clean.cypher b/res/neo4j/reset-db__clean.cypher index 5c8c4950..fa82fc87 100644 --- a/res/neo4j/reset-db__clean.cypher +++ b/res/neo4j/reset-db__clean.cypher @@ -20,3 +20,7 @@ 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; +// Drop constraints we used to have - there is no DROP CONSTRAINT * - see http://stackoverflow.com/questions/22357379/neo4j-how-to-drop-all-constraints + +drop constraint on (x:Person) assert x.name is unique; +drop constraint on (x:Skill) assert x.name is unique; -- cgit v1.3.1