rosa-build/db/migrate/20120113121748_add_issue_st...

11 lines
256 B
Ruby

# -*- encoding : utf-8 -*-
class AddIssueStatusDefaultValue < ActiveRecord::Migration
def self.up
change_column :issues, :status, :string, :default => 'open'
end
def self.down
change_column :issues, :status, :string, :null => true
end
end