undefined method `migrations' for ActiveRecord::Migrator:Class
this method is referenced both in config/initializers/ar_speed_up_migration_checking.rb
and spec/support/helpers/migrations_helpers.rb
https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/136614374
67) RemoveSystemHookFromGeoNodes destroy all system hooks for secondary nodes
Failure/Error: ActiveRecord::Migrator.migrations(migrations_paths)
NoMethodError:
undefined method `migrations' for ActiveRecord::Migrator:Class
Did you mean? migrations_paths
# ./spec/support/helpers/migrations_helpers.rb:24:in `migrations'
# ./spec/support/helpers/migrations_helpers.rb:68:in `previous_migration'
# ./spec/support/helpers/migrations_helpers.rb:79:in `migration_schema_version'
# ./spec/support/helpers/migrations_helpers.rb:86:in `block in schema_migrate_down!'
# ./spec/support/helpers/migrations_helpers.rb:106:in `disable_migrations_output'
# ./spec/support/helpers/migrations_helpers.rb:84:in `schema_migrate_down!'
# ./ee/spec/support/helpers/ee/migrations_helpers.rb:31:in `block in schema_migrate_down!'
# ./ee/spec/support/helpers/ee/migrations_helpers.rb:48:in `with_db_config'
# ./ee/spec/support/helpers/ee/migrations_helpers.rb:31:in `schema_migrate_down!'
# ./spec/spec_helper.rb:216:in `block (2 levels) in <top (required)>'