Re:Are triggers really that slow in Postgres?
by bobwaycott on Wednesday May 23, 2018 @02:27AM
(#17131805)
You can easily add functions, triggers, etc. as SQL in migrations. Itβs just not a good idea when you realize you might want to change them. Putting them in migrations seems nice at first because it omits an extra step when upgrading your db. But then you have the SQL multiple times in your migrations, which makes finding the correct version annoying.
[ Parent
| on HN ]
There are no comments on this comment yet.