issues
search
datakind
/
permanent-colandr-back
DataCorps - Colandr Tool resources
https://www.colandrapp.com/signin
14
stars
1
forks
source link
Improve dttm handling+naming in db models
#94
Closed
bdewilde
closed
8 months ago
bdewilde
commented
8 months ago
changes
rename
last_updated
columns in db tables to
updated_at
, for consistent naming with
created_at
make all datetime columns in the db timezone-aware, i.e.
timestamptz
psql dtypes
actually set
updated_at
value upon record updates
leverage sqlalchemy functions over raw postgres sql for server defaults
changes
last_updated
columns in db tables toupdated_at
, for consistent naming withcreated_at
timestamptz
psql dtypesupdated_at
value upon record updates