From f9ed13761c1ebdc333c190da39d349f1d63ab283 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Tue, 14 Nov 2023 23:49:30 +0100 Subject: [PATCH] Update ERD mermiad diagram --- ERD/README.md | 12 ++++++------ ERD/postgsail.md | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ERD/README.md b/ERD/README.md index a8febeb..7c31e36 100644 --- a/ERD/README.md +++ b/ERD/README.md @@ -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 diff --git a/ERD/postgsail.md b/ERD/postgsail.md index 639af66..e976a7b 100644 --- a/ERD/postgsail.md +++ b/ERD/postgsail.md @@ -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 : "" ``` \ No newline at end of file