Commit 70f315c3 authored by Andreas Brandl's avatar Andreas Brandl

Merge branch 'ab/revert-ci-build-trace-sections' into 'master'

Revert backfill on ci_build_trace_sections

See merge request gitlab-org/gitlab!66627
parents 2bc06dec b7caca93
...@@ -7,7 +7,8 @@ class BackfillCiBuildTraceSectionsForBigintConversion < ActiveRecord::Migration[ ...@@ -7,7 +7,8 @@ class BackfillCiBuildTraceSectionsForBigintConversion < ActiveRecord::Migration[
COLUMN = :build_id COLUMN = :build_id
def up def up
backfill_conversion_of_integer_to_bigint TABLE, COLUMN, batch_size: 15000, sub_batch_size: 100, primary_key: COLUMN # No-op to disable the migration:
# backfill_conversion_of_integer_to_bigint TABLE, COLUMN, batch_size: 15000, sub_batch_size: 100, primary_key: COLUMN
end end
def down def down
......
# frozen_string_literal: true
class RevertBackfillCiBuildTraceSectionsForBigintConversion < ActiveRecord::Migration[6.1]
include Gitlab::Database::MigrationHelpers
TABLE = :ci_build_trace_sections
COLUMN = :build_id
def up
revert_backfill_conversion_of_integer_to_bigint TABLE, COLUMN, primary_key: COLUMN
end
def down
# no-op
end
end
c9057cb28d2576551eafe78998023742018fa8351f2e550b7e35832a5509d21c
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment