Good call @gerhard! I found the culprit: discourse-policy has 6.0 migrations.
So I understand that the stable branch remains on Rails 5.2…
root@talk:/var/www/discourse/plugins# grep -r 'ActiveRecord::Migration\[6.0\]' .
./discourse-policy/db/migrate/20191013212445_migrate_policy_users_table.rb:class MigratePolicyUsersTable < ActiveRecord::Migration[6.0]
./discourse-policy/db/post_migrate/20191014224419_migrate_custom_field_to_policy_users.rb:class MigrateCustomFieldToPolicyUsers < ActiveRecord::Migration[6.0]
Is there anything I need to do to run those migrations now, or are they taken into account somehow?
I guess 2.3.7 will fix this…