added extra code to migrate to drop extra tables
This commit is contained in:
parent
63c8bc8987
commit
da4751b065
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue