more mods to migrate file
This commit is contained in:
parent
f06710b05d
commit
8820d787cb
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
class ItemsToTopics < ActiveRecord::Migration
|
class ItemsToTopics < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
|
drop_table :topics
|
||||||
|
drop_table :metacodes
|
||||||
|
|
||||||
rename_column :items, :item_category_id, :metacode_id
|
rename_column :items, :item_category_id, :metacode_id
|
||||||
rename_column :mappings, :item_id, :topic_id
|
rename_column :mappings, :item_id, :topic_id
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue