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

11 lines
231 B
Ruby

# -*- encoding : utf-8 -*-
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