4 ms·
> They occasionally get nuked from the codebase as everyone reconciles their environment. Yes, and also migrations really have to be expressed as code, and you
by llimllib 3y ago
> They occasionally get nuked from the codebase as everyone reconciles their environment.
Yes, and also migrations really have to be expressed as code, and you don't want to have to maintain your old functions forever because they are tied to a migration; alternately you don't want to always have to be refactoring your migrations, which is a dangerous and thankless task
- jeremyjh 3y agoOr just avoid all use of application functions in your database migrations, and you never have to worry about either problem.