diff --git a/docs/ERD/postgsail.md b/docs/ERD/postgsail.md index 4a15052..f4ffbb1 100644 --- a/docs/ERD/postgsail.md +++ b/docs/ERD/postgsail.md @@ -54,6 +54,8 @@ erDiagram timestamp_with_time_zone created_at "{NOT_NULL}" double_precision height integer id "{NOT_NULL}" + text ip "Store vessel ip address" + text ip double_precision length numeric mmsi text name @@ -67,6 +69,18 @@ erDiagram text vessel_id "{NOT_NULL}" } + api_metadata_ext { + timestamp_with_time_zone created_at "{NOT_NULL}" + bytea image "Store user boat image in bytea format" + text image_b64 + text image_type "Store user boat image type in text format" + timestamp_with_time_zone image_updated_at + text make_model + text polar "Store polar data in CSV notation as used on ORC sailboat data" + timestamp_with_time_zone polar_updated_at + text vessel_id "{NOT_NULL}" + } + api_metrics { double_precision anglespeedapparent text client_id "Deprecated client_id to be removed" @@ -275,6 +289,7 @@ erDiagram api_logbook }o--|| api_moorages : "" api_logbook }o--|| api_moorages : "" api_metadata }o--|| auth_vessels : "" + api_metadata_ext |o--|| api_metadata : "" api_metrics }o--|| api_metadata : "" api_moorages }o--|| api_metadata : "" api_stays }o--|| api_metadata : ""