added extra code to migrate to drop extra tables

This commit is contained in:
Connor Turland 2013-01-08 00:21:54 -05:00
parent 63c8bc8987
commit da4751b065

View file

@ -1,5 +1,7 @@
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