Sha256: dde95ffc3634bf3d91dd9035afa15a9de7a9dc840c2efba10763a04897d8e724
Contents?: true
Size: 206 Bytes
Versions: 18
Compression:
Stored size: 206 Bytes
Contents
class AddCommentCountToUsers < ActiveRecord::Migration def self.up add_column :users, :comment_count, :integer, :default => 0 end def self.down remove_column :users, :comment_count end end
Version data entries
18 entries across 18 versions & 1 rubygems