17 lines
418 B
Ruby
17 lines
418 B
Ruby
# frozen_string_literal: true
|
|
|
|
class BackfillVulnerabilityUserMentionsNoteIdForBigintConversion < Gitlab::Database::Migration[2.1]
|
|
TABLE = :vulnerability_user_mentions
|
|
COLUMNS = %i[note_id]
|
|
|
|
restrict_gitlab_migration gitlab_schema: :gitlab_main
|
|
|
|
def up
|
|
backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
|
|
end
|
|
|
|
def down
|
|
revert_backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
|
|
end
|
|
end
|