devise-security 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -2
  3. data/app/controllers/devise/paranoid_verification_code_controller.rb +13 -1
  4. data/app/controllers/devise/password_expired_controller.rb +14 -1
  5. data/config/locales/bg.yml +41 -0
  6. data/config/locales/de.yml +2 -0
  7. data/config/locales/en.yml +2 -1
  8. data/lib/devise-security/models/database_authenticatable_patch.rb +15 -5
  9. data/lib/devise-security/models/password_archivable.rb +2 -2
  10. data/lib/devise-security/models/secure_validatable.rb +51 -15
  11. data/lib/devise-security/validators/password_complexity_validator.rb +53 -26
  12. data/lib/devise-security/version.rb +1 -1
  13. data/lib/devise-security.rb +7 -2
  14. data/lib/generators/templates/devise_security.rb +3 -1
  15. data/test/controllers/test_paranoid_verification_code_controller.rb +68 -0
  16. data/test/controllers/test_password_expired_controller.rb +38 -0
  17. data/test/dummy/app/controllers/overrides/paranoid_verification_code_controller.rb +7 -0
  18. data/test/dummy/app/controllers/overrides/password_expired_controller.rb +7 -0
  19. data/test/dummy/app/controllers/widgets_controller.rb +3 -0
  20. data/test/dummy/app/models/application_user_record.rb +2 -1
  21. data/test/dummy/app/models/mongoid/confirmable_fields.rb +2 -0
  22. data/test/dummy/app/models/mongoid/database_authenticable_fields.rb +4 -3
  23. data/test/dummy/app/models/mongoid/expirable_fields.rb +2 -0
  24. data/test/dummy/app/models/mongoid/lockable_fields.rb +2 -0
  25. data/test/dummy/app/models/mongoid/mappings.rb +4 -2
  26. data/test/dummy/app/models/mongoid/omniauthable_fields.rb +2 -0
  27. data/test/dummy/app/models/mongoid/paranoid_verification_fields.rb +2 -0
  28. data/test/dummy/app/models/mongoid/password_archivable_fields.rb +2 -0
  29. data/test/dummy/app/models/mongoid/password_expirable_fields.rb +2 -0
  30. data/test/dummy/app/models/mongoid/recoverable_fields.rb +2 -0
  31. data/test/dummy/app/models/mongoid/registerable_fields.rb +4 -2
  32. data/test/dummy/app/models/mongoid/rememberable_fields.rb +2 -0
  33. data/test/dummy/app/models/mongoid/secure_validatable_fields.rb +2 -0
  34. data/test/dummy/app/models/mongoid/security_questionable_fields.rb +2 -0
  35. data/test/dummy/app/models/mongoid/session_limitable_fields.rb +2 -0
  36. data/test/dummy/app/models/mongoid/timeoutable_fields.rb +2 -0
  37. data/test/dummy/app/models/mongoid/trackable_fields.rb +2 -0
  38. data/test/dummy/app/models/mongoid/validatable_fields.rb +2 -0
  39. data/test/dummy/app/models/paranoid_verification_user.rb +26 -0
  40. data/test/dummy/app/models/password_expired_user.rb +26 -0
  41. data/test/dummy/app/models/user.rb +1 -2
  42. data/test/dummy/app/models/widget.rb +1 -3
  43. data/test/dummy/app/mongoid/one_user.rb +5 -5
  44. data/test/dummy/app/mongoid/user_on_engine.rb +2 -2
  45. data/test/dummy/app/mongoid/user_on_main_app.rb +2 -2
  46. data/test/dummy/app/mongoid/user_with_validations.rb +3 -3
  47. data/test/dummy/app/mongoid/user_without_email.rb +3 -3
  48. data/test/dummy/config/application.rb +4 -4
  49. data/test/dummy/config/boot.rb +1 -1
  50. data/test/dummy/config/environment.rb +1 -1
  51. data/test/dummy/config/locales/en.yml +10 -0
  52. data/test/dummy/config/routes.rb +2 -0
  53. data/test/dummy/db/migrate/20120508165529_create_tables.rb +3 -3
  54. data/test/dummy/lib/shared_expirable_columns.rb +1 -0
  55. data/test/dummy/lib/shared_security_questions_fields.rb +1 -0
  56. data/test/dummy/lib/shared_user.rb +17 -6
  57. data/test/dummy/lib/shared_user_without_email.rb +2 -1
  58. data/test/dummy/lib/shared_user_without_omniauth.rb +12 -3
  59. data/test/dummy/lib/shared_verification_fields.rb +1 -0
  60. data/test/dummy/log/development.log +0 -883
  61. data/test/dummy/log/test.log +95414 -15570
  62. data/test/integration/test_session_limitable_workflow.rb +2 -0
  63. data/test/orm/active_record.rb +7 -7
  64. data/test/test_compatibility.rb +2 -0
  65. data/test/test_complexity_validator.rb +246 -37
  66. data/test/test_database_authenticatable_patch.rb +146 -0
  67. data/test/test_helper.rb +7 -8
  68. data/test/test_install_generator.rb +1 -1
  69. data/test/test_paranoid_verification.rb +0 -1
  70. data/test/test_password_archivable.rb +34 -11
  71. data/test/test_password_expirable.rb +26 -26
  72. data/test/test_secure_validatable.rb +273 -107
  73. data/test/test_secure_validatable_overrides.rb +185 -0
  74. data/test/test_session_limitable.rb +2 -2
  75. data/test/tmp/config/initializers/{devise-security.rb → devise_security.rb} +3 -1
  76. data/test/tmp/config/locales/devise.security_extension.de.yml +2 -0
  77. data/test/tmp/config/locales/devise.security_extension.en.yml +2 -1
  78. data/test/tmp/config/locales/devise.security_extension.hi.yml +20 -20
  79. metadata +42 -19
  80. data/test/dummy/app/models/secure_user.rb +0 -9
@@ -1,883 +0,0 @@
1
-  (0.1ms) SELECT sqlite_version(*)
2
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5
- Migrating to CreateTables (20120508165529)
6
-  (0.0ms) begin transaction
7
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
9
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
10
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
12
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
13
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
14
-  (0.1ms) commit transaction
15
- Migrating to AddVerificationColumns (20150402165590)
16
-  (0.0ms) begin transaction
17
-  (0.3ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
18
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
19
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
20
-  (0.0ms) commit transaction
21
- Migrating to AddVerificationAttemptColumn (20150407162345)
22
-  (0.0ms) begin transaction
23
-  (0.3ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
24
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
25
-  (0.0ms) commit transaction
26
- Migrating to AddSecurityQuestionsFields (20160320162345)
27
-  (0.0ms) begin transaction
28
-  (0.3ms) ALTER TABLE "users" ADD "locked_at" datetime
29
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
30
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
31
-  (0.2ms) ALTER TABLE "users" ADD "security_question_answer" varchar
32
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
33
-  (0.0ms) commit transaction
34
- Migrating to AddExpireableColumns (20180318103603)
35
-  (0.0ms) begin transaction
36
-  (0.3ms) ALTER TABLE "users" ADD "expired_at" datetime
37
-  (0.2ms) ALTER TABLE "users" ADD "last_activity_at" datetime
38
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
39
-  (0.0ms) commit transaction
40
- Migrating to AddConfirmableColumns (20180318105329)
41
-  (0.0ms) begin transaction
42
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
43
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
44
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
45
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
46
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
47
-  (0.0ms) commit transaction
48
- Migrating to AddRememberableColumns (20180318105732)
49
-  (0.0ms) begin transaction
50
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
51
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
52
-  (0.0ms) commit transaction
53
- Migrating to AddRecoverableColumns (20180318111336)
54
-  (0.0ms) begin transaction
55
-  (0.3ms) ALTER TABLE "users" ADD "reset_password_token" varchar
56
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
57
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
58
-  (0.0ms) commit transaction
59
- Migrating to AddWidget (20180319114023)
60
-  (0.0ms) begin transaction
61
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
62
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
63
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
64
-  (0.0ms) commit transaction
65
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
66
-  (0.0ms) begin transaction
67
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2021-03-26 05:11:32.037652"], ["updated_at", "2021-03-26 05:11:32.037652"]]
68
-  (0.0ms) commit transaction
69
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
70
-  (0.1ms) SELECT sqlite_version(*)
71
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
72
-  (0.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
73
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
74
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
75
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
76
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
77
-  (0.1ms) SELECT sqlite_version(*)
78
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
79
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
80
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
81
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
82
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
83
-  (0.1ms) begin transaction
84
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2021-03-26 05:11:58.089929"], ["updated_at", "2021-03-26 05:11:58.089929"]]
85
-  (0.0ms) commit transaction
86
- ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
87
-  (0.1ms) begin transaction
88
-  (0.0ms) commit transaction
89
-  (0.0ms) SELECT sqlite_version(*)
90
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
91
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
92
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
93
-  (0.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
94
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
95
-  (0.0ms) begin transaction
96
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2021-03-26 05:11:58.096814"], ["updated_at", "2021-03-26 05:11:58.096814"]]
97
-  (0.0ms) commit transaction
98
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
99
-  (0.0ms) begin transaction
100
- ActiveRecord::InternalMetadata Update (0.1ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2021-03-26 05:11:58.098337"], ["key", "environment"]]
101
-  (0.0ms) commit transaction
102
-  (0.1ms) SELECT sqlite_version(*)
103
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
104
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
105
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
106
-  (0.1ms) SELECT sqlite_version(*)
107
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
108
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
109
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
110
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
111
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
112
-  (0.0ms) begin transaction
113
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2021-03-26 05:14:07.728236"], ["updated_at", "2021-03-26 05:14:07.728236"]]
114
-  (0.0ms) commit transaction
115
- ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
116
-  (0.0ms) begin transaction
117
-  (0.0ms) commit transaction
118
-  (0.0ms) SELECT sqlite_version(*)
119
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
120
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
121
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
122
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
123
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
124
-  (0.0ms) begin transaction
125
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2021-03-26 05:14:07.734102"], ["updated_at", "2021-03-26 05:14:07.734102"]]
126
-  (0.0ms) commit transaction
127
- ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
128
-  (0.0ms) begin transaction
129
- ActiveRecord::InternalMetadata Update (0.1ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2021-03-26 05:14:07.735310"], ["key", "environment"]]
130
-  (0.1ms) commit transaction
131
-  (0.0ms) SELECT sqlite_version(*)
132
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
133
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
134
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
135
-  (0.1ms) SELECT sqlite_version(*)
136
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
137
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
138
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
139
- Migrating to CreateTables (20120508165529)
140
-  (0.0ms) begin transaction
141
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
142
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
143
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
144
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
145
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
146
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
147
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
148
-  (0.0ms) commit transaction
149
- Migrating to AddVerificationColumns (20150402165590)
150
-  (0.0ms) begin transaction
151
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
152
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
153
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
154
-  (0.0ms) commit transaction
155
- Migrating to AddVerificationAttemptColumn (20150407162345)
156
-  (0.0ms) begin transaction
157
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
158
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
159
-  (0.0ms) commit transaction
160
- Migrating to AddSecurityQuestionsFields (20160320162345)
161
-  (0.0ms) begin transaction
162
-  (0.2ms) ALTER TABLE "users" ADD "locked_at" datetime
163
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
164
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
165
-  (0.2ms) ALTER TABLE "users" ADD "security_question_answer" varchar
166
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
167
-  (0.0ms) commit transaction
168
- Migrating to AddExpireableColumns (20180318103603)
169
-  (0.0ms) begin transaction
170
-  (0.3ms) ALTER TABLE "users" ADD "expired_at" datetime
171
-  (0.2ms) ALTER TABLE "users" ADD "last_activity_at" datetime
172
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
173
-  (0.0ms) commit transaction
174
- Migrating to AddConfirmableColumns (20180318105329)
175
-  (0.0ms) begin transaction
176
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
177
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
178
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
179
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
180
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
181
-  (0.0ms) commit transaction
182
- Migrating to AddRememberableColumns (20180318105732)
183
-  (0.0ms) begin transaction
184
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
185
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
186
-  (0.0ms) commit transaction
187
- Migrating to AddRecoverableColumns (20180318111336)
188
-  (0.0ms) begin transaction
189
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
190
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
191
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
192
-  (0.0ms) commit transaction
193
- Migrating to AddWidget (20180319114023)
194
-  (0.0ms) begin transaction
195
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
196
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
197
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
198
-  (0.0ms) commit transaction
199
- Migrating to CreateOldPasswords (20200318103603)
200
-  (0.0ms) begin transaction
201
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20200318103603"]]
202
-  (0.0ms) commit transaction
203
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
204
-  (0.0ms) begin transaction
205
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2021-03-26 05:14:12.522222"], ["updated_at", "2021-03-26 05:14:12.522222"]]
206
-  (0.0ms) commit transaction
207
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
208
-  (0.1ms) DROP TABLE IF EXISTS "old_passwords"
209
-  (0.1ms) SELECT sqlite_version(*)
210
-  (0.3ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
211
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
212
-  (0.0ms) DROP TABLE IF EXISTS "secure_users"
213
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
214
-  (0.0ms) DROP TABLE IF EXISTS "users"
215
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "paranoid_verification_code" varchar, "paranoid_verified_at" datetime, "paranoid_verification_attempt" integer DEFAULT 0, "locked_at" datetime, "unlock_token" varchar, "security_question_id" integer, "security_question_answer" varchar, "expired_at" datetime, "last_activity_at" datetime, "confirmation_token" varchar, "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar, "remember_created_at" datetime, "reset_password_token" varchar, "reset_password_sent_at" datetime)
216
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
217
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
218
-  (0.0ms) DROP TABLE IF EXISTS "widgets"
219
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
220
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
221
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
222
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
223
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (20200318103603)
224
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES
225
- (20120508165529),
226
- (20150402165590),
227
- (20180318111336),
228
- (20180318105732),
229
- (20160320162345),
230
- (20180319114023),
231
- (20180318103603),
232
- (20150407162345),
233
- (20180318105329);
234
-
235
- 
236
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
237
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
238
-  (0.0ms) begin transaction
239
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2021-03-26 05:14:16.413432"], ["updated_at", "2021-03-26 05:14:16.413432"]]
240
-  (0.0ms) commit transaction
241
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
242
-  (0.0ms) begin transaction
243
-  (0.0ms) commit transaction
244
-  (0.0ms) DROP TABLE IF EXISTS "old_passwords"
245
-  (0.0ms) SELECT sqlite_version(*)
246
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
247
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
248
-  (0.0ms) DROP TABLE IF EXISTS "secure_users"
249
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
250
-  (0.0ms) DROP TABLE IF EXISTS "users"
251
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "paranoid_verification_code" varchar, "paranoid_verified_at" datetime, "paranoid_verification_attempt" integer DEFAULT 0, "locked_at" datetime, "unlock_token" varchar, "security_question_id" integer, "security_question_answer" varchar, "expired_at" datetime, "last_activity_at" datetime, "confirmation_token" varchar, "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar, "remember_created_at" datetime, "reset_password_token" varchar, "reset_password_sent_at" datetime)
252
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
253
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
254
-  (0.0ms) DROP TABLE IF EXISTS "widgets"
255
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
256
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
257
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
258
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
259
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (20200318103603)
260
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES
261
- (20120508165529),
262
- (20150402165590),
263
- (20180318111336),
264
- (20180318105732),
265
- (20160320162345),
266
- (20180319114023),
267
- (20180318103603),
268
- (20150407162345),
269
- (20180318105329);
270
-
271
- 
272
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
273
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
274
-  (0.0ms) begin transaction
275
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2021-03-26 05:14:16.423046"], ["updated_at", "2021-03-26 05:14:16.423046"]]
276
-  (0.0ms) commit transaction
277
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
278
-  (0.0ms) begin transaction
279
- ActiveRecord::InternalMetadata Update (0.1ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2021-03-26 05:14:16.425197"], ["key", "environment"]]
280
-  (0.0ms) commit transaction
281
-  (0.0ms) SELECT sqlite_version(*)
282
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
283
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
284
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
285
-  (0.1ms) SELECT sqlite_version(*)
286
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
287
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
288
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
289
- Migrating to CreateTables (20120508165529)
290
-  (0.0ms) begin transaction
291
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
292
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
293
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
294
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
295
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
296
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
297
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
298
-  (0.0ms) commit transaction
299
- Migrating to AddVerificationColumns (20150402165590)
300
-  (0.0ms) begin transaction
301
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
302
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
303
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
304
-  (0.0ms) commit transaction
305
- Migrating to AddVerificationAttemptColumn (20150407162345)
306
-  (0.0ms) begin transaction
307
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
308
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
309
-  (0.0ms) commit transaction
310
- Migrating to AddSecurityQuestionsFields (20160320162345)
311
-  (0.0ms) begin transaction
312
-  (0.2ms) ALTER TABLE "users" ADD "locked_at" datetime
313
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
314
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
315
-  (0.2ms) ALTER TABLE "users" ADD "security_question_answer" varchar
316
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
317
-  (0.0ms) commit transaction
318
- Migrating to AddExpireableColumns (20180318103603)
319
-  (0.1ms) begin transaction
320
-  (0.2ms) ALTER TABLE "users" ADD "expired_at" datetime
321
-  (0.2ms) ALTER TABLE "users" ADD "last_activity_at" datetime
322
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
323
-  (0.1ms) commit transaction
324
- Migrating to AddConfirmableColumns (20180318105329)
325
-  (0.0ms) begin transaction
326
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
327
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
328
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
329
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
330
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
331
-  (0.0ms) commit transaction
332
- Migrating to AddRememberableColumns (20180318105732)
333
-  (0.1ms) begin transaction
334
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
335
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
336
-  (0.0ms) commit transaction
337
- Migrating to AddRecoverableColumns (20180318111336)
338
-  (0.1ms) begin transaction
339
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
340
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
341
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
342
-  (0.0ms) commit transaction
343
- Migrating to AddWidget (20180319114023)
344
-  (0.0ms) begin transaction
345
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
346
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
347
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
348
-  (0.0ms) commit transaction
349
- Migrating to CreateOldPasswords (20200318103603)
350
-  (0.0ms) begin transaction
351
-  (0.0ms) rollback transaction
352
-  (0.1ms) SELECT sqlite_version(*)
353
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
354
-  (0.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
355
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
356
- Migrating to CreateTables (20120508165529)
357
-  (0.0ms) begin transaction
358
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
359
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
360
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
361
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
362
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
363
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
364
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
365
-  (0.0ms) commit transaction
366
- Migrating to AddVerificationColumns (20150402165590)
367
-  (0.0ms) begin transaction
368
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
369
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
370
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
371
-  (0.0ms) commit transaction
372
- Migrating to AddVerificationAttemptColumn (20150407162345)
373
-  (0.0ms) begin transaction
374
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
375
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
376
-  (0.0ms) commit transaction
377
- Migrating to AddSecurityQuestionsFields (20160320162345)
378
-  (0.0ms) begin transaction
379
-  (0.3ms) ALTER TABLE "users" ADD "locked_at" datetime
380
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
381
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
382
-  (0.2ms) ALTER TABLE "users" ADD "security_question_answer" varchar
383
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
384
-  (0.0ms) commit transaction
385
- Migrating to AddExpireableColumns (20180318103603)
386
-  (0.0ms) begin transaction
387
-  (0.2ms) ALTER TABLE "users" ADD "expired_at" datetime
388
-  (0.2ms) ALTER TABLE "users" ADD "last_activity_at" datetime
389
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
390
-  (0.0ms) commit transaction
391
- Migrating to AddConfirmableColumns (20180318105329)
392
-  (0.0ms) begin transaction
393
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
394
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
395
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
396
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
397
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
398
-  (0.0ms) commit transaction
399
- Migrating to AddRememberableColumns (20180318105732)
400
-  (0.0ms) begin transaction
401
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
402
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
403
-  (0.0ms) commit transaction
404
- Migrating to AddRecoverableColumns (20180318111336)
405
-  (0.0ms) begin transaction
406
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
407
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
408
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
409
-  (0.0ms) commit transaction
410
- Migrating to AddWidget (20180319114023)
411
-  (0.0ms) begin transaction
412
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
413
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
414
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
415
-  (0.0ms) commit transaction
416
- Migrating to CreateOldPasswords (20200318103603)
417
-  (0.1ms) begin transaction
418
-  (0.0ms) rollback transaction
419
-  (0.1ms) SELECT sqlite_version(*)
420
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
421
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
422
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
423
- Migrating to CreateTables (20120508165529)
424
-  (0.0ms) begin transaction
425
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
426
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
427
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
428
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
429
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
430
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
431
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
432
-  (0.0ms) commit transaction
433
- Migrating to AddVerificationColumns (20150402165590)
434
-  (0.0ms) begin transaction
435
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
436
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
437
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
438
-  (0.0ms) commit transaction
439
- Migrating to AddVerificationAttemptColumn (20150407162345)
440
-  (0.0ms) begin transaction
441
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
442
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
443
-  (0.0ms) commit transaction
444
- Migrating to AddSecurityQuestionsFields (20160320162345)
445
-  (0.0ms) begin transaction
446
-  (0.3ms) ALTER TABLE "users" ADD "locked_at" datetime
447
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
448
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
449
-  (0.3ms) ALTER TABLE "users" ADD "security_question_answer" varchar
450
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
451
-  (0.0ms) commit transaction
452
- Migrating to AddExpireableColumns (20180318103603)
453
-  (0.0ms) begin transaction
454
-  (0.2ms) ALTER TABLE "users" ADD "expired_at" datetime
455
-  (0.2ms) ALTER TABLE "users" ADD "last_activity_at" datetime
456
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
457
-  (0.0ms) commit transaction
458
- Migrating to AddConfirmableColumns (20180318105329)
459
-  (0.0ms) begin transaction
460
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
461
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
462
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
463
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
464
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
465
-  (0.0ms) commit transaction
466
- Migrating to AddRememberableColumns (20180318105732)
467
-  (0.0ms) begin transaction
468
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
469
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
470
-  (0.0ms) commit transaction
471
- Migrating to AddRecoverableColumns (20180318111336)
472
-  (0.1ms) begin transaction
473
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
474
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
475
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
476
-  (0.0ms) commit transaction
477
- Migrating to AddWidget (20180319114023)
478
-  (0.0ms) begin transaction
479
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
480
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
481
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
482
-  (0.0ms) commit transaction
483
- Migrating to CreateOldPasswords (20200318103603)
484
-  (0.1ms) SELECT sqlite_version(*)
485
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
486
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
487
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
488
- Migrating to CreateTables (20120508165529)
489
-  (0.0ms) begin transaction
490
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
491
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
492
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
493
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
494
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
495
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
496
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
497
-  (0.0ms) commit transaction
498
- Migrating to AddVerificationColumns (20150402165590)
499
-  (0.0ms) begin transaction
500
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
501
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
502
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
503
-  (0.0ms) commit transaction
504
- Migrating to AddVerificationAttemptColumn (20150407162345)
505
-  (0.0ms) begin transaction
506
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
507
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
508
-  (0.0ms) commit transaction
509
- Migrating to AddSecurityQuestionsFields (20160320162345)
510
-  (0.0ms) begin transaction
511
-  (0.2ms) ALTER TABLE "users" ADD "locked_at" datetime
512
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
513
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
514
-  (0.2ms) ALTER TABLE "users" ADD "security_question_answer" varchar
515
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
516
-  (0.0ms) commit transaction
517
- Migrating to AddExpireableColumns (20180318103603)
518
-  (0.0ms) begin transaction
519
-  (0.2ms) ALTER TABLE "users" ADD "expired_at" datetime
520
-  (0.3ms) ALTER TABLE "users" ADD "last_activity_at" datetime
521
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
522
-  (0.0ms) commit transaction
523
- Migrating to AddConfirmableColumns (20180318105329)
524
-  (0.0ms) begin transaction
525
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
526
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
527
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
528
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
529
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
530
-  (0.0ms) commit transaction
531
- Migrating to AddRememberableColumns (20180318105732)
532
-  (0.0ms) begin transaction
533
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
534
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
535
-  (0.0ms) commit transaction
536
- Migrating to AddRecoverableColumns (20180318111336)
537
-  (0.0ms) begin transaction
538
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
539
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
540
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
541
-  (0.0ms) commit transaction
542
- Migrating to AddWidget (20180319114023)
543
-  (0.0ms) begin transaction
544
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
545
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
546
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
547
-  (0.0ms) commit transaction
548
- Migrating to CreateOldPasswords (20200318103603)
549
-  (0.1ms) SELECT sqlite_version(*)
550
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
551
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
552
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
553
- Migrating to CreateTables (20120508165529)
554
-  (0.0ms) begin transaction
555
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
556
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
557
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
558
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
559
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
560
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
561
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
562
-  (0.0ms) commit transaction
563
- Migrating to AddVerificationColumns (20150402165590)
564
-  (0.0ms) begin transaction
565
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
566
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
567
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
568
-  (0.0ms) commit transaction
569
- Migrating to AddVerificationAttemptColumn (20150407162345)
570
-  (0.0ms) begin transaction
571
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
572
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
573
-  (0.1ms) commit transaction
574
- Migrating to AddSecurityQuestionsFields (20160320162345)
575
-  (0.0ms) begin transaction
576
-  (0.2ms) ALTER TABLE "users" ADD "locked_at" datetime
577
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
578
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
579
-  (0.2ms) ALTER TABLE "users" ADD "security_question_answer" varchar
580
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
581
-  (0.0ms) commit transaction
582
- Migrating to AddExpireableColumns (20180318103603)
583
-  (0.1ms) begin transaction
584
-  (0.3ms) ALTER TABLE "users" ADD "expired_at" datetime
585
-  (0.2ms) ALTER TABLE "users" ADD "last_activity_at" datetime
586
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
587
-  (0.1ms) commit transaction
588
- Migrating to AddConfirmableColumns (20180318105329)
589
-  (0.0ms) begin transaction
590
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
591
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
592
-  (0.3ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
593
-  (0.3ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
594
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
595
-  (0.0ms) commit transaction
596
- Migrating to AddRememberableColumns (20180318105732)
597
-  (0.1ms) begin transaction
598
-  (0.3ms) ALTER TABLE "users" ADD "remember_created_at" datetime
599
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
600
-  (0.0ms) commit transaction
601
- Migrating to AddRecoverableColumns (20180318111336)
602
-  (0.1ms) begin transaction
603
-  (0.3ms) ALTER TABLE "users" ADD "reset_password_token" varchar
604
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
605
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
606
-  (0.0ms) commit transaction
607
- Migrating to AddWidget (20180319114023)
608
-  (0.0ms) begin transaction
609
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
610
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
611
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
612
-  (0.0ms) commit transaction
613
- Migrating to CreateOldPasswords (20200318103603)
614
-  (0.0ms) begin transaction
615
-  (0.0ms) rollback transaction
616
-  (0.1ms) SELECT sqlite_version(*)
617
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
618
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
619
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
620
- Migrating to CreateTables (20120508165529)
621
-  (0.0ms) begin transaction
622
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
623
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
624
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
625
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
626
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
627
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
628
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
629
-  (0.0ms) commit transaction
630
- Migrating to AddVerificationColumns (20150402165590)
631
-  (0.0ms) begin transaction
632
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
633
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
634
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
635
-  (0.0ms) commit transaction
636
- Migrating to AddVerificationAttemptColumn (20150407162345)
637
-  (0.0ms) begin transaction
638
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
639
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
640
-  (0.0ms) commit transaction
641
- Migrating to AddSecurityQuestionsFields (20160320162345)
642
-  (0.0ms) begin transaction
643
-  (0.3ms) ALTER TABLE "users" ADD "locked_at" datetime
644
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
645
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
646
-  (0.2ms) ALTER TABLE "users" ADD "security_question_answer" varchar
647
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
648
-  (0.0ms) commit transaction
649
- Migrating to AddExpireableColumns (20180318103603)
650
-  (0.0ms) begin transaction
651
-  (0.2ms) ALTER TABLE "users" ADD "expired_at" datetime
652
-  (0.3ms) ALTER TABLE "users" ADD "last_activity_at" datetime
653
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
654
-  (0.0ms) commit transaction
655
- Migrating to AddConfirmableColumns (20180318105329)
656
-  (0.0ms) begin transaction
657
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
658
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
659
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
660
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
661
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
662
-  (0.0ms) commit transaction
663
- Migrating to AddRememberableColumns (20180318105732)
664
-  (0.0ms) begin transaction
665
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
666
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
667
-  (0.0ms) commit transaction
668
- Migrating to AddRecoverableColumns (20180318111336)
669
-  (0.0ms) begin transaction
670
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
671
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
672
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
673
-  (0.0ms) commit transaction
674
- Migrating to AddWidget (20180319114023)
675
-  (0.0ms) begin transaction
676
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
677
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
678
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
679
-  (0.0ms) commit transaction
680
- Migrating to CreateOldPasswords (20200318103603)
681
-  (0.0ms) begin transaction
682
-  (0.0ms) rollback transaction
683
-  (0.1ms) SELECT sqlite_version(*)
684
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
685
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
686
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
687
- Migrating to CreateTables (20120508165529)
688
-  (0.0ms) begin transaction
689
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
690
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
691
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
692
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
693
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
694
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
695
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
696
-  (0.0ms) commit transaction
697
- Migrating to AddVerificationColumns (20150402165590)
698
-  (0.0ms) begin transaction
699
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
700
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
701
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
702
-  (0.0ms) commit transaction
703
- Migrating to AddVerificationAttemptColumn (20150407162345)
704
-  (0.0ms) begin transaction
705
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
706
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
707
-  (0.0ms) commit transaction
708
- Migrating to AddSecurityQuestionsFields (20160320162345)
709
-  (0.0ms) begin transaction
710
-  (0.2ms) ALTER TABLE "users" ADD "locked_at" datetime
711
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
712
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
713
-  (0.3ms) ALTER TABLE "users" ADD "security_question_answer" varchar
714
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
715
-  (0.0ms) commit transaction
716
- Migrating to AddExpireableColumns (20180318103603)
717
-  (0.0ms) begin transaction
718
-  (0.3ms) ALTER TABLE "users" ADD "expired_at" datetime
719
-  (0.2ms) ALTER TABLE "users" ADD "last_activity_at" datetime
720
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
721
-  (0.0ms) commit transaction
722
- Migrating to AddConfirmableColumns (20180318105329)
723
-  (0.0ms) begin transaction
724
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
725
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
726
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
727
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
728
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
729
-  (0.0ms) commit transaction
730
- Migrating to AddRememberableColumns (20180318105732)
731
-  (0.0ms) begin transaction
732
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
733
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
734
-  (0.0ms) commit transaction
735
- Migrating to AddRecoverableColumns (20180318111336)
736
-  (0.0ms) begin transaction
737
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
738
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
739
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
740
-  (0.0ms) commit transaction
741
- Migrating to AddWidget (20180319114023)
742
-  (0.0ms) begin transaction
743
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
744
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
745
- ActiveRecord::SchemaMigration Create (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
746
-  (0.0ms) commit transaction
747
- Migrating to CreateOldPasswords (20200318103603)
748
-  (0.0ms) begin transaction
749
-  (0.0ms) rollback transaction
750
-  (0.1ms) SELECT sqlite_version(*)
751
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
752
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
753
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
754
- Migrating to CreateTables (20120508165529)
755
-  (0.0ms) begin transaction
756
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
757
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
758
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
759
-  (0.1ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
760
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
761
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
762
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
763
-  (0.0ms) commit transaction
764
- Migrating to AddVerificationColumns (20150402165590)
765
-  (0.0ms) begin transaction
766
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
767
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
768
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
769
-  (0.0ms) commit transaction
770
- Migrating to AddVerificationAttemptColumn (20150407162345)
771
-  (0.0ms) begin transaction
772
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
773
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
774
-  (0.0ms) commit transaction
775
- Migrating to AddSecurityQuestionsFields (20160320162345)
776
-  (0.0ms) begin transaction
777
-  (0.2ms) ALTER TABLE "users" ADD "locked_at" datetime
778
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
779
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
780
-  (0.2ms) ALTER TABLE "users" ADD "security_question_answer" varchar
781
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
782
-  (0.0ms) commit transaction
783
- Migrating to AddExpireableColumns (20180318103603)
784
-  (0.0ms) begin transaction
785
-  (0.2ms) ALTER TABLE "users" ADD "expired_at" datetime
786
-  (0.2ms) ALTER TABLE "users" ADD "last_activity_at" datetime
787
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
788
-  (0.0ms) commit transaction
789
- Migrating to AddConfirmableColumns (20180318105329)
790
-  (0.0ms) begin transaction
791
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
792
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
793
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
794
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
795
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
796
-  (0.0ms) commit transaction
797
- Migrating to AddRememberableColumns (20180318105732)
798
-  (0.0ms) begin transaction
799
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
800
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
801
-  (0.0ms) commit transaction
802
- Migrating to AddRecoverableColumns (20180318111336)
803
-  (0.0ms) begin transaction
804
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
805
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
806
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
807
-  (0.0ms) commit transaction
808
- Migrating to AddWidget (20180319114023)
809
-  (0.0ms) begin transaction
810
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
811
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
812
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
813
-  (0.1ms) commit transaction
814
- Migrating to CreateOldPasswords (20200318103603)
815
-  (0.0ms) begin transaction
816
-  (0.0ms) rollback transaction
817
-  (0.1ms) SELECT sqlite_version(*)
818
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
819
-  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
820
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
821
- Migrating to CreateTables (20120508165529)
822
-  (0.0ms) begin transaction
823
-  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "facebook_token" varchar, "unique_session_id" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "password_changed_at" datetime, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "sign_in_count" integer DEFAULT 0, "failed_attempts" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
824
-  (0.1ms) CREATE INDEX "index_users_on_password_changed_at" ON "users" ("password_changed_at")
825
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
826
-  (0.2ms) CREATE TABLE "secure_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
827
-  (0.1ms) CREATE TABLE "old_passwords" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar NOT NULL, "password_salt" varchar, "password_archivable_type" varchar NOT NULL, "password_archivable_id" integer NOT NULL, "created_at" datetime)
828
-  (0.1ms) CREATE INDEX "index_password_archivable" ON "old_passwords" ("password_archivable_type", "password_archivable_id")
829
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120508165529"]]
830
-  (0.0ms) commit transaction
831
- Migrating to AddVerificationColumns (20150402165590)
832
-  (0.0ms) begin transaction
833
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_code" varchar
834
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verified_at" datetime
835
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150402165590"]]
836
-  (0.0ms) commit transaction
837
- Migrating to AddVerificationAttemptColumn (20150407162345)
838
-  (0.0ms) begin transaction
839
-  (0.2ms) ALTER TABLE "users" ADD "paranoid_verification_attempt" integer DEFAULT 0
840
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150407162345"]]
841
-  (0.0ms) commit transaction
842
- Migrating to AddSecurityQuestionsFields (20160320162345)
843
-  (0.0ms) begin transaction
844
-  (0.2ms) ALTER TABLE "users" ADD "locked_at" datetime
845
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar
846
-  (0.2ms) ALTER TABLE "users" ADD "security_question_id" integer
847
-  (0.2ms) ALTER TABLE "users" ADD "security_question_answer" varchar
848
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160320162345"]]
849
-  (0.0ms) commit transaction
850
- Migrating to AddExpireableColumns (20180318103603)
851
-  (0.0ms) begin transaction
852
-  (0.2ms) ALTER TABLE "users" ADD "expired_at" datetime
853
-  (0.2ms) ALTER TABLE "users" ADD "last_activity_at" datetime
854
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318103603"]]
855
-  (0.0ms) commit transaction
856
- Migrating to AddConfirmableColumns (20180318105329)
857
-  (0.0ms) begin transaction
858
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar
859
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
860
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
861
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar
862
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105329"]]
863
-  (0.0ms) commit transaction
864
- Migrating to AddRememberableColumns (20180318105732)
865
-  (0.0ms) begin transaction
866
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
867
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318105732"]]
868
-  (0.0ms) commit transaction
869
- Migrating to AddRecoverableColumns (20180318111336)
870
-  (0.0ms) begin transaction
871
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
872
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
873
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180318111336"]]
874
-  (0.0ms) commit transaction
875
- Migrating to AddWidget (20180319114023)
876
-  (0.0ms) begin transaction
877
-  (0.1ms) CREATE TABLE "widgets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
878
-  (0.1ms) CREATE INDEX "index_widgets_on_user_id" ON "widgets" ("user_id")
879
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180319114023"]]
880
-  (0.0ms) commit transaction
881
- Migrating to CreateOldPasswords (20200318103603)
882
-  (0.0ms) begin transaction
883
-  (0.0ms) rollback transaction