lib/generators/mongoid/devise_generator.rb in devise-4.4.3 vs lib/generators/mongoid/devise_generator.rb in devise-4.5.0
- old
+ new
@@ -32,14 +32,14 @@
## Rememberable
field :remember_created_at, type: Time
## Trackable
- field :sign_in_count, type: Integer, default: 0
- field :current_sign_in_at, type: Time
- field :last_sign_in_at, type: Time
- field :current_sign_in_ip, type: String
- field :last_sign_in_ip, type: String
+ # field :sign_in_count, type: Integer, default: 0
+ # field :current_sign_in_at, type: Time
+ # field :last_sign_in_at, type: Time
+ # field :current_sign_in_ip, type: String
+ # field :last_sign_in_ip, type: String
## Confirmable
# field :confirmation_token, type: String
# field :confirmed_at, type: Time
# field :confirmation_sent_at, type: Time