Skip to content

Commit

Permalink
Fix constraints/indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Aug 18, 2016
1 parent d782667 commit d8c9886
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Graph.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ export default class GraphContainer extends Component {
var a = defaultAjaxSettings()
a.data = JSON.stringify({
"statements": [{
"statement": "CREATE CONSTRAINT ON (c:User) ASSERT c.UserName IS UNIQUE"
"statement": "CREATE CONSTRAINT ON (c:User) ASSERT c.name IS UNIQUE"
}, {
"statement": "CREATE CONSTRAINT ON (c:Computer) ASSERT c.ComputerName IS UNIQUE"
"statement": "CREATE CONSTRAINT ON (c:Computer) ASSERT c.name IS UNIQUE"
}, {
"statement": "CREATE CONSTRAINT ON (c:Group) ASSERT c.GroupName IS UNIQUE"
"statement": "CREATE CONSTRAINT ON (c:Group) ASSERT c.name IS UNIQUE"
}, {
"statement": "CREATE INDEX ON :User(name)"
}, {
"statement": "CREATE INDEX ON :Computer(name)"
}, {
"statement": "CREATE INDEX ON :Group(name)"
}, {
"statement": "CREATE CONSTRAINT ON (c:Domain) ASSERT c.DomainName IS UNIQUE"
"statement": "CREATE CONSTRAINT ON (c:Domain) ASSERT c.name IS UNIQUE"
}, {
"statement": "CREATE INDEX ON :Domain(name)"
}]
Expand Down

0 comments on commit d8c9886

Please sign in to comment.