diff options
Diffstat (limited to 'db/post_migrate/20210906100316_drop_temporary_columns_and_triggers_for_ci_build_trace_chunks.rb')
-rw-r--r-- | db/post_migrate/20210906100316_drop_temporary_columns_and_triggers_for_ci_build_trace_chunks.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/post_migrate/20210906100316_drop_temporary_columns_and_triggers_for_ci_build_trace_chunks.rb b/db/post_migrate/20210906100316_drop_temporary_columns_and_triggers_for_ci_build_trace_chunks.rb deleted file mode 100644 index 44bec402cae..00000000000 --- a/db/post_migrate/20210906100316_drop_temporary_columns_and_triggers_for_ci_build_trace_chunks.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -class DropTemporaryColumnsAndTriggersForCiBuildTraceChunks < Gitlab::Database::Migration[1.0] - disable_ddl_transaction! - - TABLE = 'ci_build_trace_chunks' - COLUMN = 'build_id' - - # rubocop:disable Migration/WithLockRetriesDisallowedMethod - def up - with_lock_retries do - cleanup_conversion_of_integer_to_bigint(TABLE, COLUMN) - end - end - # rubocop:enable Migration/WithLockRetriesDisallowedMethod - - def down - restore_conversion_of_integer_to_bigint(TABLE, COLUMN) - end -end |