Sha256: 14609662cbfe5e7e7234aaab4489c355978253162587e4656c06c80065428aa7
Contents?: true
Size: 274 Bytes
Versions: 3
Compression:
Stored size: 274 Bytes
Contents
class AddInvitationCountsToUser < ActiveRecord::Migration def change add_column :users, :invitations_count, :integer, :default => 0 add_index :users, :invitations_count end def down remove_column :users, :invitations_count, :integer, :default => 0 end end
Version data entries
3 entries across 3 versions & 1 rubygems