aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20140302204529_add_sidebar_item_count_to_blog_categories.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20140302204529_add_sidebar_item_count_to_blog_categories.rb')
-rw-r--r--db/migrate/20140302204529_add_sidebar_item_count_to_blog_categories.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20140302204529_add_sidebar_item_count_to_blog_categories.rb b/db/migrate/20140302204529_add_sidebar_item_count_to_blog_categories.rb
new file mode 100644
index 0000000..7268cd6
--- /dev/null
+++ b/db/migrate/20140302204529_add_sidebar_item_count_to_blog_categories.rb
@@ -0,0 +1,5 @@
+class AddSidebarItemCountToBlogCategories < ActiveRecord::Migration
+ def change
+ add_column "refinery_blog_categories", "sidebar_items", :integer, :default => 5
+ end
+end