Commit 27262d7b authored by Andreas Brandl's avatar Andreas Brandl

Revert backfill on ci_build_trace_sections

This disables and removes the backfill for the int8 migration on
ci_build_trace_sections.

Changelog: other
parent 434f40f4
......@@ -7,7 +7,8 @@ class BackfillCiBuildTraceSectionsForBigintConversion < ActiveRecord::Migration[
COLUMN = :build_id
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
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
backfill_conversion_of_integer_to_bigint TABLE, COLUMN, batch_size: 15000, sub_batch_size: 100, primary_key: COLUMN
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