devise-security 0.14.3 → 0.16.0

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