Asset-Tracker/db/migrate/20110608232032_remove_name_from_assets.rb

10 lines
172 B
Ruby
Raw Permalink Normal View History

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