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