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

20120627145613_remove_critical_from_issue.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f8d0797197b745c12eb1ab2dbedc3e120d6b4de3 (plain)
1
2
3
4
5
6
7
8
9
class RemoveCriticalFromIssue < ActiveRecord::Migration
  def up
    remove_column :issues, :critical
  end

  def down
    add_column :issues, :critical, :boolean, :null => true, :default => false
  end
end