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

20150602000240_change_default_build_timeout.rb « migrate « ci « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 72341699b2108cb00eeb08bcad1752a770d5394c (plain)
1
2
3
4
5
6
7
8
9
class ChangeDefaultBuildTimeout < ActiveRecord::Migration
  def up
    change_column :projects, :timeout, :integer, default: 3600, null: false
  end

  def down
    change_column :projects, :timeout, :integer, default: 1800, null: false
  end
end