more mods to migrate file

This commit is contained in:
Connor Turland 2013-01-01 18:07:37 -05:00
parent f06710b05d
commit 8820d787cb

View file

@ -1,5 +1,8 @@
class ItemsToTopics < ActiveRecord::Migration
def change
drop_table :topics
drop_table :metacodes
rename_column :items, :item_category_id, :metacode_id
rename_column :mappings, :item_id, :topic_id