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

20150330001111_disable_shared_runners.rb « migrate « ci « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dbb32baa27a41c17f1ac7915f107b0bcc142f0f2 (plain)
1
2
3
4
5
6
7
8
class DisableSharedRunners < ActiveRecord::Migration
  def up
    execute("UPDATE projects SET shared_runners_enabled = false WHERE id IN (SELECT project_id FROM runner_projects)");
  end

  def down
  end
end