17 lines
373 B
Ruby
17 lines
373 B
Ruby
# frozen_string_literal: true
|
|
|
|
class InitializeConversionOfMergeRequestMetricsToBigint < Gitlab::Database::Migration[2.1]
|
|
disable_ddl_transaction!
|
|
|
|
TABLE = :merge_request_metrics
|
|
COLUMNS = %i[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
|