17 lines
380 B
Ruby
17 lines
380 B
Ruby
# frozen_string_literal: true
|
|
|
|
class InitializeConversionOfSnippetUserMentionsNoteIdToBigint < Gitlab::Database::Migration[2.1]
|
|
TABLE = :snippet_user_mentions
|
|
COLUMNS = %i[note_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
|