mastodon/app
Claire 8569126c2e
Fix upgrade path from 3.4.0 (#16465)
3.4.1 dropped account_stats.lock_version, but in a way breaking the usual
upgrade path by requiring services to be reloaded after the post-migrations.

Indeed, `self.locking_column = nil` was not enough for Rails to ignore the
`lock_version` column when preparing statements on application load, resulting
in some ActiveRecord queries (typically those involving
`includes(:account_stat)`) erroring out with:

  ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR:  column account_stats.lock_version does not exist
2021-07-07 21:13:30 +02:00
..
chewy
controllers
helpers
javascript
lib
mailers
models Fix upgrade path from 3.4.0 (#16465) 2021-07-07 21:13:30 +02:00
policies
presenters
serializers
services Fix some RedisLocks auto-releasing too fast (#16276) 2021-05-19 23:52:08 +02:00
validators
views
workers