17 lines
409 B
Ruby
17 lines
409 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class BackfillGeoJobArtifactDeletedEventsForBigintConversion < ActiveRecord::Migration[6.0]
|
||
|
include Gitlab::Database::MigrationHelpers
|
||
|
|
||
|
TABLE = :geo_job_artifact_deleted_events
|
||
|
COLUMNS = %i(job_artifact_id)
|
||
|
|
||
|
def up
|
||
|
backfill_conversion_of_integer_to_bigint TABLE, COLUMNS
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
revert_backfill_conversion_of_integer_to_bigint TABLE, COLUMNS
|
||
|
end
|
||
|
end
|