debian-mirror-gitlab/db/migrate/20210427084924_initialize_conversion_of_ci_builds_runner_session_to_bigint.rb
2021-06-08 01:23:25 +05:30

16 lines
398 B
Ruby

# frozen_string_literal: true
class InitializeConversionOfCiBuildsRunnerSessionToBigint < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
TABLE = :ci_builds_runner_session
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