debian-mirror-gitlab/db/migrate/20210525085158_initialize_conversion_of_deployments_to_bigint.rb
2021-09-04 01:27:46 +05:30

17 lines
380 B
Ruby

# frozen_string_literal: true
class InitializeConversionOfDeploymentsToBigint < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
TABLE = :deployments
COLUMNS = %i(deployable_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