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

Version Path
fuck_comments-2.3.4 db/migrate/20130101010103_the_comments_change_commentable.rb
the_comments_ruby-2.3.4 db/migrate/20130101010103_the_comments_change_commentable.rb
the_comments_ruby-2.3.3 db/migrate/20130101010103_the_comments_change_commentable.rb
the_comments-2.3.1 db/migrate/20130101010103_the_comments_change_commentable.rb
the_comments-2.2.2 db/migrate/20130101010103_the_comments_change_commentable.rb
the_comments-2.2.1 db/migrate/20130101010103_the_comments_change_commentable.rb