17 lines
368 B
Ruby
17 lines
368 B
Ruby
# frozen_string_literal: true
|
|
|
|
class InitializeConversionOfSentNotificationsToBigint < Gitlab::Database::Migration[2.1]
|
|
disable_ddl_transaction!
|
|
|
|
TABLE = :sent_notifications
|
|
COLUMNS = %i[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
|