17 lines
392 B
Ruby
17 lines
392 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class InitializeConversionOfCiBuildTraceChunksToBigint < ActiveRecord::Migration[6.0]
|
||
|
include Gitlab::Database::MigrationHelpers
|
||
|
|
||
|
TABLE = :ci_build_trace_chunks
|
||
|
COLUMNS = %i(build_id)
|
||
|
|
||
|
def up
|
||
|
initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
|
||
|
end
|
||
|
end
|