Asset-Tracker/db/migrate/20110608234937_add_company_version_to_softwares.rb
2011-06-14 18:08:28 -07:00

12 lines
276 B
Ruby

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