10 lines
209 B
Ruby
10 lines
209 B
Ruby
|
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
|