debian-mirror-gitlab/db/post_migrate/20200319071702_consume_remaining_link_lfs_objects_projects_jobs.rb
2020-04-22 19:07:51 +05:30

16 lines
332 B
Ruby

# frozen_string_literal: true
class ConsumeRemainingLinkLfsObjectsProjectsJobs < ActiveRecord::Migration[6.0]
DOWNTIME = false
disable_ddl_transaction!
def up
Gitlab::BackgroundMigration.steal('LinkLfsObjectsProjects')
end
def down
# no-op as there is no need to do anything if this gets rolled back
end
end