Add database architecture
This commit is contained in:
parent
1689d705b0
commit
149c28e82b
@ -1,10 +1,12 @@
|
|||||||
|
|
||||||
## Proposed Tech stack
|
## Proposed Tech stack
|
||||||
- NodeJS
|
- NodeJS
|
||||||
- Express
|
- Express
|
||||||
- Postgresql
|
- Postgresql
|
||||||
- Luxon
|
- Luxon
|
||||||
|
|
||||||
|
## Database architecture
|
||||||
|
See: https://dbdiagram.io/d/5e769ab14495b02c3b88936f
|
||||||
|
|
||||||
## How to deal with date and time in PostgreSQL?
|
## 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)
|
- use `datetime` datatype without timezone (datetime with timezone is using offset, which doesn't work well with DST)
|
||||||
- store datetime in UTC
|
- store datetime in UTC
|
||||||
|
Loading…
Reference in New Issue
Block a user