blob: d3c901341027a5317bb01f9908c6bf02880fec71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# frozen_string_literal: true
class BackfillSystemNoteMetadataIdForBigintConversion < Gitlab::Database::Migration[2.2]
restrict_gitlab_migration gitlab_schema: :gitlab_main
TABLE = :system_note_metadata
COLUMNS = %i[id]
milestone '16.6'
def up
backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS, sub_batch_size: 100)
end
def down
revert_backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
end
end
|