diff options
| -rw-r--r-- | res/neo4j/reset-db__clean.cypher | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/res/neo4j/reset-db__clean.cypher b/res/neo4j/reset-db__clean.cypher index 29f1afd7..e9c2b395 100644 --- a/res/neo4j/reset-db__clean.cypher +++ b/res/neo4j/reset-db__clean.cypher @@ -1,6 +1,9 @@ // Flush match (n) optional match (n)-[r]-() delete r,n; +// init commit block chain +create (n:__HEAD:__Commit {hash: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', blob: '', id: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', name: 'root-commit', ts_created: 0 }); + // // Constraints // @@ -11,5 +14,3 @@ 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; -// init commit block chain -create (n:__HEAD:__Commit {hash: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', blob: '', id: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', name: 'root-commit', ts_created: 0 }); |
