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

10 lines
201 B
Ruby
Raw Normal View History

class AddHasWikiToProjects < ActiveRecord::Migration
def self.up
2014-01-21 04:51:49 +00:00
add_column :projects, :has_wiki, :boolean, default: false
end
def self.down
remove_column :projects, :has_wiki
end
end