detected_repository_languages relation does not exist

Job #189588263 failed for 946dc59b:

Widespread failures on master from PG::UndefinedColumn: ERROR: column "detected_repository_languages" of relation "projects" does not exist

  11) AssureCommitsCountForMergeRequestDiff when there are still unmigrated commit_counts afterwards migrates commit_counts sequentially in batches
      Failure/Error:
        ActiveRecord::Migrator.migrate(migrations_paths,
                                       migration_schema_version)

      StandardError:
        An error has occurred, this and all later migrations canceled:

        PG::UndefinedColumn: ERROR:  column "detected_repository_languages" of relation "projects" does not exist
        : ALTER TABLE "projects" DROP "detected_repository_languages"
      # ./spec/support/helpers/migrations_helpers.rb:99:in `block in schema_migrate_down!'
      # ./spec/support/helpers/migrations_helpers.rb:120:in `disable_migrations_output'
      # ./spec/support/helpers/migrations_helpers.rb:98: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:230:in `block (2 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # PG::UndefinedColumn:
      #   ERROR:  column "detected_repository_languages" of relation "projects" does not exist
      #   ./spec/support/helpers/migrations_helpers.rb:99:in `block in schema_migrate_down!'
Assignee Loading
Time tracking Loading