blob: c083b0a8e4c5b8d161123b1404eaa4c145340d45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
class BackfillAwardEmojiAwardableIdForBigintConversion < Gitlab::Database::Migration[2.1]
TABLE = :award_emoji
COLUMNS = %i[awardable_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
|