diff options
| author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-06-27 21:30:35 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-06-27 21:30:35 +0300 |
| commit | 50fdb2e7dffd80265bc604ec8f9071e12f99af30 (patch) | |
| tree | 3b7f2da395fc6c05f57ef695a6d880bff766a80b /db/migrate | |
| parent | 1b1e77c728e575a110e204e142e81bdff2737536 (diff) | |
| download | gitlab-ce-50fdb2e7dffd80265bc604ec8f9071e12f99af30.tar.gz | |
Remove critical status from Issue. Move sort instead
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20120627145613_remove_critical_from_issue.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120627145613_remove_critical_from_issue.rb b/db/migrate/20120627145613_remove_critical_from_issue.rb new file mode 100644 index 00000000000..f8d0797197b --- /dev/null +++ b/db/migrate/20120627145613_remove_critical_from_issue.rb @@ -0,0 +1,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 |
