Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20200319071702_consume_remaining_link_lfs_objects_projects_jobs.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 63fa0234a5b8bd3f6f2ed34e4baa3e309dd360fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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