17 lines
364 B
Ruby
17 lines
364 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class InitializeConversionOfCiStagesToBigint < ActiveRecord::Migration[6.1]
|
||
|
include Gitlab::Database::MigrationHelpers
|
||
|
|
||
|
TABLE = :ci_stages
|
||
|
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
|