Asset-Tracker/db/migrate/20110609000237_add_name_to_assets.rb

10 lines
167 B
Ruby
Raw Normal View History

2011-06-15 01:08:28 +00:00
class AddNameToAssets < ActiveRecord::Migration
def self.up
add_column :assets, :name, :string
end
def self.down
remove_column :assets, :name
end
end