Sha256: 881abf3d8b168ed335f9a83b66f1a524ebf9a14cf933af927ff9a23194bb2345
Contents?: true
Size: 487 Bytes
Versions: 10
Compression:
Stored size: 487 Bytes
Contents
# This migration comes from the_comments_engine (originally 20130101010103) class ChangeCommentable < ActiveRecord::Migration def change # Uncomment this. Add fields to Commentable Models # [:users, :posts].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
10 entries across 10 versions & 3 rubygems