2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2012-01-13 15:07:01 +00:00
|
|
|
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
|