43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# File 'lib/generators/active_record/devise_generator.rb', line 43
def migration_data
"## Database authenticatable\nt.string :email, null: false, default: \"\"\nt.string :encrypted_password, null: false, default: \"\"\n\n## Recoverable\nt.string :reset_password_token\nt.datetime :reset_password_sent_at\n\n## Rememberable\nt.datetime :remember_created_at\n\n## Trackable\n# t.integer :sign_in_count, default: 0, null: false\n# t.datetime :current_sign_in_at\n# t.datetime :last_sign_in_at\n# t.\#{ip_column} :current_sign_in_ip\n# t.\#{ip_column} :last_sign_in_ip\n\n## Confirmable\n# t.string :confirmation_token\n# t.datetime :confirmed_at\n# t.datetime :confirmation_sent_at\n# t.string :unconfirmed_email # Only if using reconfirmable\n\n## Lockable\n# t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts\n# t.string :unlock_token # Only if unlock strategy is :email or :both\n# t.datetime :locked_at\n"
end
|