From 0157fe12e5c0d414f06490eb0d388206283e6dd1 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Thu, 23 Nov 2023 15:14:45 +0100 Subject: [PATCH] Update ERD schema --- ERD/postgsail.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ERD/postgsail.md b/ERD/postgsail.md index c9a1d96..7f124d5 100644 --- a/ERD/postgsail.md +++ b/ERD/postgsail.md @@ -14,7 +14,7 @@ erDiagram boolean active double_precision avg_speed numeric distance "in NM" - interval duration + interval duration "Best to use standard ISO 8601" jsonb extra "computed signalk metrics of interest, runTime, currentLevel, etc" integer id "{NOT_NULL}" double_precision max_speed @@ -107,6 +107,7 @@ erDiagram text last "User last name with CONSTRAINT CHECK {NOT_NULL}" text pass "{NOT_NULL}" jsonb preferences + integer public_id "{NOT_NULL}" name role "{NOT_NULL}" timestamp_with_time_zone updated_at "{NOT_NULL}" text user_id "{NOT_NULL}"