Update ERD mermiad diagram

This commit is contained in:
xbgmsharp
2023-11-14 23:49:30 +01:00
parent e1e7da779e
commit f9ed13761c
2 changed files with 8 additions and 7 deletions

View File

@@ -9,12 +9,12 @@ Auto generated Mermaid diagram using [mermerd](https://github.com/KarnerTh/merme
## Further
There is 3 main schemas:
- API Schema:
- tables
- metrics
- logbook
- ...
- functions
- ...
- tables
- metrics
- logbook
- ...
- functions
- ...
- Auth Schema:
- tables

View File

@@ -90,7 +90,7 @@ erDiagram
integer moorage_id "Link api.moorages with api.stays via FOREIGN KEY and REFERENCES"
text name
text notes
integer stay_code
integer stay_code "Link api.stays_at with api.stays via FOREIGN KEY and REFERENCES"
text vessel_id "{NOT_NULL}"
}
@@ -240,6 +240,7 @@ erDiagram
api_stays }o--|| api_metadata : ""
api_moorages }o--|| api_stays_at : ""
api_stays }o--|| api_moorages : ""
api_stays }o--|| api_stays_at : ""
auth_otp |o--|| auth_accounts : ""
auth_vessels |o--|| auth_accounts : ""
```