Sha256: c2e5c4f16b1cca891c02ffa6d0f19661409fa099d1a8281082e79949b1ef8144

Contents?: true

Size: 435 Bytes

Versions: 29

Compression:

Stored size: 435 Bytes

Contents

module DevisePhone
  module Schema

    def phone
      apply_devise_schema :phone_number,   String
      apply_devise_schema :phone_number_verified,   Boolean
      apply_devise_schema :phone_verification_code,   String, :limit => 6
      apply_devise_schema :phone_verification_code_sent_at, DateTime
      apply_devise_schema :phone_verified_at, DateTime
    end
  end
end

#Devise::Schema.send :include, DeviseSmsActivable::Schema

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
devise_phone-0.1.26 lib/devise_phone/schema.rb
devise_phone-0.1.25 lib/devise_phone/schema.rb
devise_phone-0.1.24 lib/devise_phone/schema.rb
devise_phone-0.1.23 lib/devise_phone/schema.rb
devise_phone-0.1.22 lib/devise_phone/schema.rb
devise_phone-0.1.21 lib/devise_phone/schema.rb
devise_phone-0.1.2 lib/devise_phone/schema.rb
devise_phone-0.1.1 lib/devise_phone/schema.rb
devise_phone-0.1.0 lib/devise_phone/schema.rb
devise_phone-0.0.17 lib/devise_phone/schema.rb
devise_phone-0.0.1667 lib/devise_phone/schema.rb
devise_phone-0.0.1666 lib/devise_phone/schema.rb
devise_phone-0.0.1665 lib/devise_phone/schema.rb
devise_phone-0.0.1664 lib/devise_phone/schema.rb
devise_phone-0.0.1663 lib/devise_phone/schema.rb
devise_phone-0.0.1662 lib/devise_phone/schema.rb
devise_phone-0.0.1661 lib/devise_phone/schema.rb
devise_phone-0.0.166 lib/devise_phone/schema.rb
devise_phone-0.0.165 lib/devise_phone/schema.rb
devise_phone-0.0.164 lib/devise_phone/schema.rb