2012-01-31 16:40:46 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2011-12-23 17:01:47 +00:00
|
|
|
class AddHasWikiToProjects < ActiveRecord::Migration
|
|
|
|
def self.up
|
2012-01-26 23:37:19 +00:00
|
|
|
add_column :projects, :has_wiki, :boolean, :default => false
|
2011-12-23 17:01:47 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_column :projects, :has_wiki
|
|
|
|
end
|
|
|
|
end
|