rosa-build/db/migrate/20111221120208_add_has_wiki...

10 lines
204 B
Ruby
Raw Normal View History

class AddHasWikiToProjects < ActiveRecord::Migration
def self.up
add_column :projects, :has_wiki, :boolean, :default => false
end
def self.down
remove_column :projects, :has_wiki
end
end