Re:Working with Postgres Types
by kristiandupont on Sunday August 08, 2021 @03:56AM
(#28104980)
I've made a "linter" tool to enforce this: https://github.com/kristiandupont/schemalint
[ Parent
| on HN ]
Re:Working with Postgres Types
by rad_gruchalski on Sunday August 08, 2021 @07:14PM
(#28111076)
TIL: one can write a Postgres hook to enforce this in the database at 'create table' time. This would fit nicely in the ProcessUtility hook.