Redmine/db/migrate/20110511000000_add_reposito...

10 lines
198 B
Ruby

class AddRepositoriesExtraInfo < ActiveRecord::Migration
def self.up
add_column :repositories, :extra_info, :text
end
def self.down
remove_column :repositories, :extra_info
end
end