Sha256: 56b3661e3058650ca60f7c65d1f491c92b705d64c9d45b24cfe7c7959d31f7ec
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
class AddEmailAndNumberToUser < ActiveRecord::Migration def change add_column :users, :show_email, :boolean, :default => true add_column :users, :show_number, :boolean, :default => true end def down remove_column :users, :show_email, :boolean, :default => true remove_column :users, :show_number, :boolean, :default => true end end
Version data entries
3 entries across 3 versions & 1 rubygems