2011-12-19 15:30:14 +00:00
|
|
|
class AddHasIssuesToProjects < ActiveRecord::Migration
|
|
|
|
def self.up
|
2014-01-21 04:51:49 +00:00
|
|
|
add_column :projects, :has_issues, :boolean, default: true
|
2011-12-19 15:30:14 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_column :projects, :has_issues
|
|
|
|
end
|
|
|
|
end
|