blob: e5f690a0a5a44b1079ed5524b25cdf709867d2ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
class CleanupBigintConversionForSentNotifications < Gitlab::Database::Migration[2.1]
enable_lock_retries!
TABLE = :sent_notifications
COLUMNS = [:id]
def up
cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
end
def down
restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
end
end
|