Sha256: c54c4d25efb67058f71792f8c642846c97d7dc2dabb5cf92f1eb20a47c37b284
Contents?: true
Size: 512 Bytes
Versions: 7
Compression:
Stored size: 512 Bytes
Contents
class DevisePhoneAddTo<%= table_name.camelize %> < ActiveRecord::Migration def change add_column :<%= table_name %>, :phone_number, :string add_column :<%= table_name %>, :phone_number_verified, :boolean add_column :<%= table_name %>, :phone_verification_code, :string, :limit => 6 add_column :<%= table_name %>, :phone_verification_code_sent_at, :datetime add_column :<%= table_name %>, :phone_verified_at, :datetime add_index :<%= table_name %>, :phone_number end end
Version data entries
7 entries across 7 versions & 1 rubygems