Skip to content

Commit

Permalink
docs: update relationship direction
Browse files Browse the repository at this point in the history
  • Loading branch information
chandanchowdhury authored Aug 21, 2024
1 parent 5f962b9 commit f1353a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/root/modules/snipeit/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ Representation of a SnipeIT asset.
- All SnipeIT users and asset are linked to a SnipeIT Tenant

```cypher
(:SnipeitTenant)-[:HAS_USER]->(:SnipeitUser)
(:SnipeitUser)<-[:HAS_USER]-(:SnipeitTenant)
```

```cypher
(:SnipeitTenant)-[:HAS_ASSET]->(:SnipeitAsset)
(:SnipeitAsset)<-[:HAS_ASSET]-(:SnipeitTenant)
```

- A SnipeIT user can check-out one or more assets

```cypher
(:SnipeitUser)-[:HAS_CHECKED_OUT]->(:SnipeitAsset)
(:SnipeitAsset)<-[:HAS_CHECKED_OUT]-(:SnipeitUser)
```

0 comments on commit f1353a8

Please sign in to comment.