From 149c28e82ba5aafbfbbe6304c3346f6b6dfcae04 Mon Sep 17 00:00:00 2001 From: Rui Hildt Date: Sat, 21 Mar 2020 22:54:05 +0000 Subject: [PATCH] Add database architecture --- research.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/research.md b/research.md index 57b22b3..dab95c3 100644 --- a/research.md +++ b/research.md @@ -1,10 +1,12 @@ - ## Proposed Tech stack - NodeJS - Express - Postgresql - Luxon +## Database architecture +See: https://dbdiagram.io/d/5e769ab14495b02c3b88936f + ## How to deal with date and time in PostgreSQL? - use `datetime` datatype without timezone (datetime with timezone is using offset, which doesn't work well with DST) - store datetime in UTC