From 500c1ff69d8710647ce5aad7ac0f1d59ad35bbdb Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Tue, 8 Jan 2013 00:13:06 -0500 Subject: [PATCH] swapped in files for production --- db/migrate/20130101215010_items_to_topics.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 db/migrate/20130101215010_items_to_topics.rb diff --git a/db/migrate/20130101215010_items_to_topics.rb b/db/migrate/20130101215010_items_to_topics.rb new file mode 100644 index 00000000..05dadd2d --- /dev/null +++ b/db/migrate/20130101215010_items_to_topics.rb @@ -0,0 +1,10 @@ +class ItemsToTopics < ActiveRecord::Migration + def change + + rename_column :items, :item_category_id, :metacode_id + rename_column :mappings, :item_id, :topic_id + + rename_table :items, :topics + rename_table :item_categories, :metacodes + end +end