From da4751b06524233a10b1ea7e464a55e7eb6076f9 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Tue, 8 Jan 2013 00:21:54 -0500 Subject: [PATCH] added extra code to migrate to drop extra tables --- db/migrate/20130101215010_items_to_topics.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/migrate/20130101215010_items_to_topics.rb b/db/migrate/20130101215010_items_to_topics.rb index 05dadd2d..0abfa4d4 100644 --- a/db/migrate/20130101215010_items_to_topics.rb +++ b/db/migrate/20130101215010_items_to_topics.rb @@ -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