summaryrefslogtreecommitdiffstats
path: root/db/migrate/011_add_news_comments_count.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/011_add_news_comments_count.rb')
-rw-r--r--db/migrate/011_add_news_comments_count.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/011_add_news_comments_count.rb b/db/migrate/011_add_news_comments_count.rb
index a24743999..01a283345 100644
--- a/db/migrate/011_add_news_comments_count.rb
+++ b/db/migrate/011_add_news_comments_count.rb
@@ -1,4 +1,4 @@
-class AddNewsCommentsCount < ActiveRecord::Migration
+class AddNewsCommentsCount < ActiveRecord::Migration[4.2]
def self.up
add_column :news, :comments_count, :integer, :default => 0, :null => false
end