chore: cleanup #78
Labels
good first issue
Good for newcomers
hacktoberfest
Recommendation for work that qualifies for hacktoberfest approvals
refactor
Changes that do not affect any result
technical
Not a feature nor a bug
The following ideas for changes in the overall code base came up:
TIMESTAMPTZ
, not justTIMESTAMP
CURRENT_TIMESTAMP
, not the postgres specificNOW()
, see fix(timestamp): change column type timestamp to timestamptz #67NULLIF(current_setting('jwt.claims.account_id', true), '')::UUID IS NOT NULL AND...
occurrences into a separate functioncreated_at
, not justcreated
As usual, those changes would be breaking with the current deployment style of migrations, so all changes should be released together to keep maintenance work minimal.
cc @sthelemann
The text was updated successfully, but these errors were encountered: