debian-mirror-gitlab/db/migrate/20230130104819_initialize_conversion_of_ci_build_needs_to_bigint.rb
2023-04-23 21:23:45 +05:30

17 lines
355 B
Ruby

# frozen_string_literal: true
class InitializeConversionOfCiBuildNeedsToBigint < Gitlab::Database::Migration[2.1]
TABLE = :ci_build_needs
COLUMNS = %i[id]
enable_lock_retries!
def up
initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
end
def down
revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
end
end