Re:Cost of a Join
by __s on Tuesday August 14, 2018 @06:59PM
(#17762640)
I was using enums, but then I found out that you can't alter an enum inside a transaction.. very painful in a knex environment where up/down all occurs within a transaction
[ Parent
| on HN ]
If knex doesn't provide facilities for running migrations outside of a transaction, you're going to have an awful time.
Useful operations like CREATE INDEX CONCURRENTLY can't be run in transactions.