diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2013-07-13 23:08:00 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2013-07-13 23:08:00 +0300 |
commit | ccd0f3b7ec1d47dcce017389087ac6d20f709f93 (patch) | |
tree | 742dab40d319fea3d0909bce9f56ad36be98ead3 /db/migrate | |
parent | 49c38f208b8a05cee49400ffababc49dfc431daa (diff) | |
download | refinerycms-blog-ccd0f3b7ec1d47dcce017389087ac6d20f709f93.tar.gz refinerycms-blog-ccd0f3b7ec1d47dcce017389087ac6d20f709f93.tar.bz2 refinerycms-blog-ccd0f3b7ec1d47dcce017389087ac6d20f709f93.zip |
Use proper namespace for Refinery::Blog::Categorization.
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20110803223529_add_primary_key_to_categorizations.rb | 8 |
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 |