mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 19:27:49 +00:00
Update ERD mermiad diagram
This commit is contained in:
@@ -9,12 +9,12 @@ Auto generated Mermaid diagram using [mermerd](https://github.com/KarnerTh/merme
|
|||||||
## Further
|
## Further
|
||||||
There is 3 main schemas:
|
There is 3 main schemas:
|
||||||
- API Schema:
|
- API Schema:
|
||||||
- tables
|
- tables
|
||||||
- metrics
|
- metrics
|
||||||
- logbook
|
- logbook
|
||||||
- ...
|
- ...
|
||||||
- functions
|
- functions
|
||||||
- ...
|
- ...
|
||||||
|
|
||||||
- Auth Schema:
|
- Auth Schema:
|
||||||
- tables
|
- tables
|
||||||
|
@@ -90,7 +90,7 @@ erDiagram
|
|||||||
integer moorage_id "Link api.moorages with api.stays via FOREIGN KEY and REFERENCES"
|
integer moorage_id "Link api.moorages with api.stays via FOREIGN KEY and REFERENCES"
|
||||||
text name
|
text name
|
||||||
text notes
|
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}"
|
text vessel_id "{NOT_NULL}"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -240,6 +240,7 @@ erDiagram
|
|||||||
api_stays }o--|| api_metadata : ""
|
api_stays }o--|| api_metadata : ""
|
||||||
api_moorages }o--|| api_stays_at : ""
|
api_moorages }o--|| api_stays_at : ""
|
||||||
api_stays }o--|| api_moorages : ""
|
api_stays }o--|| api_moorages : ""
|
||||||
|
api_stays }o--|| api_stays_at : ""
|
||||||
auth_otp |o--|| auth_accounts : ""
|
auth_otp |o--|| auth_accounts : ""
|
||||||
auth_vessels |o--|| auth_accounts : ""
|
auth_vessels |o--|| auth_accounts : ""
|
||||||
```
|
```
|
Reference in New Issue
Block a user