Multiple spec failures on master due to IrreversibleMigration

  1) UpdateProjectImportVisibilityLevel private visibility level updates the project visibility
     Failure/Error: execute('RESET ALL')

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



       This migration uses execute, which is not automatically reversible.
       To make the migration reversible you can either:
       1. Define #up and #down methods in place of the #change method.
       2. Use the #reversible method to define reversible behavior.
     # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
     # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
     # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
     # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
     # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # ActiveRecord::IrreversibleMigration:
     #   
     #   
     #   This migration uses execute, which is not automatically reversible.
     #   To make the migration reversible you can either:
     #   1. Define #up and #down methods in place of the #change method.
     #   2. Use the #reversible method to define reversible behavior.
     #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  2) UpdateProjectImportVisibilityLevel internal visibility level updates the project visibility
     Failure/Error: execute('RESET ALL')

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



       This migration uses execute, which is not automatically reversible.
       To make the migration reversible you can either:
       1. Define #up and #down methods in place of the #change method.
       2. Use the #reversible method to define reversible behavior.
     # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
     # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
     # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
     # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
     # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # ActiveRecord::IrreversibleMigration:
     #   
     #   
     #   This migration uses execute, which is not automatically reversible.
     #   To make the migration reversible you can either:
     #   1. Define #up and #down methods in place of the #change method.
     #   2. Use the #reversible method to define reversible behavior.
     #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  3) UpdateProjectImportVisibilityLevel public visibility level does not update the project visibility
     Failure/Error: execute('RESET ALL')

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



       This migration uses execute, which is not automatically reversible.
       To make the migration reversible you can either:
       1. Define #up and #down methods in place of the #change method.
       2. Use the #reversible method to define reversible behavior.
     # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
     # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
     # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
     # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
     # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # ActiveRecord::IrreversibleMigration:
     #   
     #   
     #   This migration uses execute, which is not automatically reversible.
     #   To make the migration reversible you can either:
     #   1. Define #up and #down methods in place of the #change method.
     #   2. Use the #reversible method to define reversible behavior.
     #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  4) UpdateProjectImportVisibilityLevel private project visibility level does not update the project visibility
     Failure/Error: execute('RESET ALL')

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



       This migration uses execute, which is not automatically reversible.
       To make the migration reversible you can either:
       1. Define #up and #down methods in place of the #change method.
       2. Use the #reversible method to define reversible behavior.
     # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
     # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
     # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
     # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
     # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # ActiveRecord::IrreversibleMigration:
     #   
     #   
     #   This migration uses execute, which is not automatically reversible.
     #   To make the migration reversible you can either:
     #   1. Define #up and #down methods in place of the #change method.
     #   2. Use the #reversible method to define reversible behavior.
     #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  5) UpdateProjectImportVisibilityLevel no namespace does not update the project visibility
     Failure/Error: execute('RESET ALL')

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



       This migration uses execute, which is not automatically reversible.
       To make the migration reversible you can either:
       1. Define #up and #down methods in place of the #change method.
       2. Use the #reversible method to define reversible behavior.
     # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
     # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
     # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
     # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
     # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # ActiveRecord::IrreversibleMigration:
     #   
     #   
     #   This migration uses execute, which is not automatically reversible.
     #   To make the migration reversible you can either:
     #   1. Define #up and #down methods in place of the #change method.
     #   2. Use the #reversible method to define reversible behavior.
     #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  6) CleanupEnvironmentsExternalUrl clears every environment with a javascript external_url
     Failure/Error: execute('RESET ALL')

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



       This migration uses execute, which is not automatically reversible.
       To make the migration reversible you can either:
       1. Define #up and #down methods in place of the #change method.
       2. Use the #reversible method to define reversible behavior.
     # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
     # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
     # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
     # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
     # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # ActiveRecord::IrreversibleMigration:
     #   
     #   
     #   This migration uses execute, which is not automatically reversible.
     #   To make the migration reversible you can either:
     #   1. Define #up and #down methods in place of the #change method.
     #   2. Use the #reversible method to define reversible behavior.
     #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  7) CleanupEnvironmentsExternalUrl do not removes environments
     Failure/Error: execute('RESET ALL')

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



       This migration uses execute, which is not automatically reversible.
       To make the migration reversible you can either:
       1. Define #up and #down methods in place of the #change method.
       2. Use the #reversible method to define reversible behavior.
     # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
     # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
     # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
     # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
     # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # ActiveRecord::IrreversibleMigration:
     #   
     #   
     #   This migration uses execute, which is not automatically reversible.
     #   To make the migration reversible you can either:
     #   1. Define #up and #down methods in place of the #change method.
     #   2. Use the #reversible method to define reversible behavior.
     #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  8) DropDuplicateProtectedTags removes duplicated protected tags
     Failure/Error: execute('RESET ALL')

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



       This migration uses execute, which is not automatically reversible.
       To make the migration reversible you can either:
       1. Define #up and #down methods in place of the #change method.
       2. Use the #reversible method to define reversible behavior.
     # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
     # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
     # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
     # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
     # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # ActiveRecord::IrreversibleMigration:
     #   
     #   
     #   This migration uses execute, which is not automatically reversible.
     #   To make the migration reversible you can either:
     #   1. Define #up and #down methods in place of the #change method.
     #   2. Use the #reversible method to define reversible behavior.
     #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  9) DropDuplicateProtectedTags does not remove unique protected tags
     Failure/Error: execute('RESET ALL')

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



       This migration uses execute, which is not automatically reversible.
       To make the migration reversible you can either:
       1. Define #up and #down methods in place of the #change method.
       2. Use the #reversible method to define reversible behavior.
     # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
     # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
     # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
     # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
     # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
     # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # ActiveRecord::IrreversibleMigration:
     #   
     #   
     #   This migration uses execute, which is not automatically reversible.
     #   To make the migration reversible you can either:
     #   1. Define #up and #down methods in place of the #change method.
     #   2. Use the #reversible method to define reversible behavior.
     #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  10) AddForeignKeyFromNotificationSettingsToUsers removal of orphans without user removes orphaned notification_settings without user
      Failure/Error: execute('RESET ALL')

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



        This migration uses execute, which is not automatically reversible.
        To make the migration reversible you can either:
        1. Define #up and #down methods in place of the #change method.
        2. Use the #reversible method to define reversible behavior.
      # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
      # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
      # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
      # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
      # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # ActiveRecord::IrreversibleMigration:
      #   
      #   
      #   This migration uses execute, which is not automatically reversible.
      #   To make the migration reversible you can either:
      #   1. Define #up and #down methods in place of the #change method.
      #   2. Use the #reversible method to define reversible behavior.
      #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  11) AddForeignKeyFromNotificationSettingsToUsers removal of orphans without user doesn't remove notification_settings with valid user
      Failure/Error: execute('RESET ALL')

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



        This migration uses execute, which is not automatically reversible.
        To make the migration reversible you can either:
        1. Define #up and #down methods in place of the #change method.
        2. Use the #reversible method to define reversible behavior.
      # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
      # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
      # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
      # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
      # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # ActiveRecord::IrreversibleMigration:
      #   
      #   
      #   This migration uses execute, which is not automatically reversible.
      #   To make the migration reversible you can either:
      #   1. Define #up and #down methods in place of the #change method.
      #   2. Use the #reversible method to define reversible behavior.
      #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  12) ScheduleSetConfidentialNoteEventsOnServices schedules background migrations at correct time
      Failure/Error: execute('RESET ALL')

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



        This migration uses execute, which is not automatically reversible.
        To make the migration reversible you can either:
        1. Define #up and #down methods in place of the #change method.
        2. Use the #reversible method to define reversible behavior.
      # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
      # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
      # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
      # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
      # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # ActiveRecord::IrreversibleMigration:
      #   
      #   
      #   This migration uses execute, which is not automatically reversible.
      #   To make the migration reversible you can either:
      #   1. Define #up and #down methods in place of the #change method.
      #   2. Use the #reversible method to define reversible behavior.
      #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  13) ScheduleSetConfidentialNoteEventsOnServices correctly processes services
      Failure/Error: execute('RESET ALL')

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



        This migration uses execute, which is not automatically reversible.
        To make the migration reversible you can either:
        1. Define #up and #down methods in place of the #change method.
        2. Use the #reversible method to define reversible behavior.
      # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
      # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
      # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
      # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
      # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # ActiveRecord::IrreversibleMigration:
      #   
      #   
      #   This migration uses execute, which is not automatically reversible.
      #   To make the migration reversible you can either:
      #   1. Define #up and #down methods in place of the #change method.
      #   2. Use the #reversible method to define reversible behavior.
      #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

  14) FixNullTypeLabels#up fix labels with type missing
      Failure/Error: execute('RESET ALL')

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



        This migration uses execute, which is not automatically reversible.
        To make the migration reversible you can either:
        1. Define #up and #down methods in place of the #change method.
        2. Use the #reversible method to define reversible behavior.
      # ./lib/gitlab/database/migration_helpers.rb:256:in `ensure in disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:256:in `disable_statement_timeout'
      # ./lib/gitlab/database/migration_helpers.rb:203:in `add_concurrent_foreign_key'
      # ./ee/db/migrate/20190301182031_add_merge_request_id_index_on_vulnerability_feedback.rb:15:in `change'
      # ./spec/support/helpers/migrations_helpers.rb:101:in `block in schema_migrate_down!'
      # ./spec/support/helpers/migrations_helpers.rb:122:in `disable_migrations_output'
      # ./spec/support/helpers/migrations_helpers.rb:100: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:228:in `block (2 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # ActiveRecord::IrreversibleMigration:
      #   
      #   
      #   This migration uses execute, which is not automatically reversible.
      #   To make the migration reversible you can either:
      #   1. Define #up and #down methods in place of the #change method.
      #   2. Use the #reversible method to define reversible behavior.
      #   ./lib/gitlab/database/migration_helpers.rb:252:in `disable_statement_timeout'

(https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/171342256)

Edited Mar 04, 2019 by Inactive Account
Assignee Loading
Time tracking Loading