aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db/migrate/20110803223529_add_primary_key_to_categorizations.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/migrate/20110803223529_add_primary_key_to_categorizations.rb b/db/migrate/20110803223529_add_primary_key_to_categorizations.rb
index 5bbfcf3..dcf1493 100644
--- a/db/migrate/20110803223529_add_primary_key_to_categorizations.rb
+++ b/db/migrate/20110803223529_add_primary_key_to_categorizations.rb
@@ -1,13 +1,13 @@
class AddPrimaryKeyToCategorizations < ActiveRecord::Migration
def up
- unless Refinery::Categorization.column_names.include?("id")
- add_column Refinery::Categorization.table_name, :id, :primary_key
+ unless Refinery::Blog::Categorization.column_names.include?("id")
+ add_column Refinery::Blog::Categorization.table_name, :id, :primary_key
end
end
def down
- if Refinery::Categorization.column_names.include?("id")
- remove_column Refinery::Categorization.table_name, :id
+ if Refinery::Blog::Categorization.column_names.include?("id")
+ remove_column Refinery::Blog::Categorization.table_name, :id
end
end
end