From ccd0f3b7ec1d47dcce017389087ac6d20f709f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ug=CC=A7is=20Ozols?= Date: Sat, 13 Jul 2013 23:08:00 +0300 Subject: Use proper namespace for Refinery::Blog::Categorization. --- db/migrate/20110803223529_add_primary_key_to_categorizations.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'db') 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 -- cgit v1.2.3