blob: ae7ad3b52c2ba7fbfee63b7b6ca90bbbe7f8e15c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
class BackfillCiBuildNeedsForBigIntConversion < Gitlab::Database::Migration[2.1]
TABLE = :ci_build_needs
COLUMNS = %i[id]
restrict_gitlab_migration gitlab_schema: :gitlab_ci
def up
backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
end
def down
revert_backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
end
end
|