diff options
Diffstat (limited to 'db/post_migrate/20210705143150_backfill_ci_builds_metadata_id_for_bigint_conversion.rb')
-rw-r--r-- | db/post_migrate/20210705143150_backfill_ci_builds_metadata_id_for_bigint_conversion.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db/post_migrate/20210705143150_backfill_ci_builds_metadata_id_for_bigint_conversion.rb b/db/post_migrate/20210705143150_backfill_ci_builds_metadata_id_for_bigint_conversion.rb deleted file mode 100644 index a9f6d4ea2d9..00000000000 --- a/db/post_migrate/20210705143150_backfill_ci_builds_metadata_id_for_bigint_conversion.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -class BackfillCiBuildsMetadataIdForBigintConversion < ActiveRecord::Migration[6.1] - disable_ddl_transaction! - - include Gitlab::Database::MigrationHelpers - - TABLE = :ci_builds_metadata - COLUMN = :id - - def up - backfill_conversion_of_integer_to_bigint TABLE, COLUMN, batch_size: 15000, sub_batch_size: 100 - end - - def down - revert_backfill_conversion_of_integer_to_bigint TABLE, COLUMN - end -end |