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