rosa-build/db/migrate/20111219073859_add_has_issu...

11 lines
236 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
class AddHasIssuesToProjects < ActiveRecord::Migration
def self.up
add_column :projects, :has_issues, :boolean, :default => true
end
def self.down
remove_column :projects, :has_issues
end
end