Asset-Tracker/db/migrate/20110608234937_add_company_version_to_softwares.rb

12 lines
276 B
Ruby
Raw Normal View History

2011-06-15 01:08:28 +00:00
class AddCompanyVersionToSoftwares < ActiveRecord::Migration
def self.up
add_column :softwares, :company, :string
add_column :softwares, :version, :string
end
def self.down
remove_column :softwares, :version
remove_column :softwares, :company
end
end