Sha256: 1dbade7649957d7a69c501da1744aa6d3c35468f87aac20ee4d260f54281ba8c
Contents?: true
Size: 462 Bytes
Versions: 6
Compression:
Stored size: 462 Bytes
Contents
class TheCommentsChangeCommentable < ActiveRecord::Migration def change # Uncomment this. Add fields to Commentable Models # # [:users, :posts, :blogs, :articles, :pages].each do |table_name| # change_table table_name do |t| # t.integer :draft_comments_count, default: 0 # t.integer :published_comments_count, default: 0 # t.integer :deleted_comments_count, default: 0 # end # end end end
Version data entries
6 entries across 6 versions & 3 rubygems