persistent_hash 0.0.6 → 1.0.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 (52) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +27 -0
  3. data/README.md +99 -0
  4. data/app/models/persistent_hash/hash.rb +11 -13
  5. data/db/migrate/20150518213536_create_persistent_hash.rb +2 -2
  6. data/db/migrate/20161110111600_convert_readable_value_to_text.rb +1 -1
  7. data/db/migrate/20190618182005_utf8_mb4.rb +5 -0
  8. data/lib/persistent_hash/version.rb +1 -1
  9. data/spec/dummy/README.rdoc +28 -0
  10. data/spec/dummy/Rakefile +6 -0
  11. data/spec/dummy/app/assets/config/manifest.js +3 -0
  12. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  13. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  14. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  15. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  16. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  17. data/spec/dummy/bin/bundle +3 -0
  18. data/spec/dummy/bin/rails +4 -0
  19. data/spec/dummy/bin/rake +4 -0
  20. data/spec/dummy/bin/setup +29 -0
  21. data/spec/dummy/config/application.rb +33 -0
  22. data/spec/dummy/config/boot.rb +5 -0
  23. data/spec/dummy/config/database.yml +32 -0
  24. data/spec/dummy/config/environment.rb +5 -0
  25. data/spec/dummy/config/environments/development.rb +41 -0
  26. data/spec/dummy/config/environments/production.rb +79 -0
  27. data/spec/dummy/config/environments/test.rb +42 -0
  28. data/spec/dummy/config/initializers/assets.rb +11 -0
  29. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  30. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  31. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  32. data/spec/dummy/config/initializers/inflections.rb +16 -0
  33. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  34. data/spec/dummy/config/initializers/persistent_hash.rb +11 -0
  35. data/spec/dummy/config/initializers/session_store.rb +3 -0
  36. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  37. data/spec/dummy/config/locales/en.yml +23 -0
  38. data/spec/dummy/config/routes.rb +4 -0
  39. data/spec/dummy/config/secrets.yml +22 -0
  40. data/spec/dummy/config.ru +4 -0
  41. data/spec/dummy/db/schema.rb +23 -0
  42. data/spec/dummy/log/development.log +405 -0
  43. data/spec/dummy/log/test.log +3210 -0
  44. data/spec/dummy/public/404.html +67 -0
  45. data/spec/dummy/public/422.html +67 -0
  46. data/spec/dummy/public/500.html +66 -0
  47. data/spec/dummy/public/favicon.ico +0 -0
  48. data/spec/dummy/tmp/local_secret.txt +1 -0
  49. data/spec/models/persistent_hash/hash_spec.rb +79 -0
  50. data/spec/rails_helper.rb +26 -0
  51. data/spec/spec_helper.rb +61 -0
  52. metadata +112 -13
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,11 @@
1
+ Rails.application.config.to_prepare do
2
+ PersistentHash::Formatter.add(
3
+ ActiveSupport::TimeWithZone,
4
+ ->(val) { val.iso8601 }
5
+ )
6
+
7
+ PersistentHash::Formatter.add(
8
+ Time,
9
+ ->(val) { val.iso8601 }
10
+ )
11
+ end
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount PersistentHash::Engine => "/persistent_hash"
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: d455948f90a3fbbe2a05d33723a29ad9928fa7939fd82dff1a4439726df657424946445f2e209dc532c6dd243f74825f2cc385b1ece557ae47f94bc813fcd974
15
+
16
+ test:
17
+ secret_key_base: 05c48e76814ad06b117453899266ef5d03060769a30466e018afb89e0a5e3913482b54ec324de1db055aac145c77131ada6b613493b6165fd0b3d878f222ba46
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
@@ -0,0 +1,23 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 2019_06_18_182005) do
14
+
15
+ create_table "persistent_hash", force: :cascade do |t|
16
+ t.string "key_name", limit: 191, null: false
17
+ t.text "readable_value", null: false
18
+ t.text "marshalled", null: false
19
+ t.datetime "updated_at", null: false
20
+ t.index ["key_name"], name: "persistent_hash_uniq", unique: true
21
+ end
22
+
23
+ end
@@ -0,0 +1,405 @@
1
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.0ms) select sqlite_version(*)
3
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
+ Migrating to CreatePersistentHash (20150519145619)
7
+  (0.0ms) begin transaction
8
+  (0.3ms) CREATE TABLE "persistent_hash" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key_name" varchar NOT NULL, "readable_value" varchar NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL) 
9
+  (0.0ms) select sqlite_version(*)
10
+  (0.9ms) CREATE UNIQUE INDEX "index_persistent_hash_on_key_name" ON "persistent_hash" ("key_name")
11
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150519145619"]]
12
+  (2.3ms) commit transaction
13
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14
+  (0.1ms)  SELECT sql
15
+ FROM sqlite_master
16
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
17
+ UNION ALL
18
+ SELECT sql
19
+ FROM sqlite_temp_master
20
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
21
+ 
22
+ SQL (0.1ms) DELETE FROM "persistent_hash" WHERE "persistent_hash"."key_name" = ? [["key_name", "number"]]
23
+  (0.1ms) begin transaction
24
+ SQL (0.3ms) INSERT INTO "persistent_hash" ("key_name", "readable_value", "marshalled", "updated_at") VALUES (?, ?, ?, ?) [["key_name", "number"], ["readable_value", "5"], ["marshalled", "BAhpCg==\n"], ["updated_at", "2015-05-19 14:56:41.154133"]]
25
+  (0.8ms) commit transaction
26
+ SQL (1.0ms) DELETE FROM "persistent_hash" WHERE "persistent_hash"."key_name" = ? [["key_name", "number"]]
27
+  (0.1ms) begin transaction
28
+ SQL (0.3ms) INSERT INTO "persistent_hash" ("key_name", "readable_value", "marshalled", "updated_at") VALUES (?, ?, ?, ?) [["key_name", "number"], ["readable_value", "This Fixnum is 5."], ["marshalled", "BAhpCg==\n"], ["updated_at", "2015-05-19 14:56:52.256639"]]
29
+  (0.7ms) commit transaction
30
+ PersistentHash::Hash Load (0.3ms) SELECT "persistent_hash".* FROM "persistent_hash" WHERE "persistent_hash"."key_name" = ? ORDER BY "persistent_hash"."id" ASC LIMIT 1 [["key_name", "time"]]
31
+ PersistentHash::Hash Load (0.2ms) SELECT "persistent_hash".* FROM "persistent_hash" WHERE "persistent_hash"."key_name" = ? ORDER BY "persistent_hash"."id" ASC LIMIT 1 [["key_name", "number"]]
32
+  (1.1ms) CREATE TABLE "persistent_hash" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key_name" varchar NOT NULL, "readable_value" varchar NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL) 
33
+  (0.1ms) select sqlite_version(*)
34
+  (0.9ms) CREATE UNIQUE INDEX "index_persistent_hash_on_key_name" ON "persistent_hash" ("key_name")
35
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
36
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
37
+  (0.1ms) SELECT version FROM "schema_migrations"
38
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150519145619')
39
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518213536')
40
+  (0.7ms) CREATE TABLE "persistent_hash" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key_name" varchar NOT NULL, "readable_value" varchar NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL) 
41
+  (0.0ms) select sqlite_version(*)
42
+  (0.8ms) CREATE UNIQUE INDEX "index_persistent_hash_on_key_name" ON "persistent_hash" ("key_name")
43
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
44
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
45
+  (0.1ms) SELECT version FROM "schema_migrations"
46
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150519145619')
47
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518213536')
48
+  (2.9ms) CREATE TABLE "persistent_hash" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key_name" varchar NOT NULL, "readable_value" varchar NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL) 
49
+  (0.1ms) select sqlite_version(*)
50
+  (0.8ms) CREATE UNIQUE INDEX "index_persistent_hash_on_key_name" ON "persistent_hash" ("key_name")
51
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
52
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
53
+  (0.1ms) SELECT version FROM "schema_migrations"
54
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150519145619')
55
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518213536')
56
+  (2.2ms) CREATE TABLE "persistent_hash" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key_name" varchar NOT NULL, "readable_value" varchar NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL) 
57
+  (0.1ms) select sqlite_version(*)
58
+  (1.1ms) CREATE UNIQUE INDEX "index_persistent_hash_on_key_name" ON "persistent_hash" ("key_name")
59
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
60
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
61
+  (0.1ms) SELECT version FROM "schema_migrations"
62
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150519145619')
63
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518213536')
64
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
65
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
66
+  (0.1ms) SELECT sql
67
+ FROM sqlite_master
68
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
69
+ UNION ALL
70
+ SELECT sql
71
+ FROM sqlite_temp_master
72
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
73
+
74
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
75
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
77
+  (0.1ms)  SELECT sql
78
+ FROM sqlite_master
79
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
80
+ UNION ALL
81
+ SELECT sql
82
+ FROM sqlite_temp_master
83
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
84
+ 
85
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
86
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
87
+ Migrating to ConvertReadableValueToText (20161110111600)
88
+  (0.1ms) begin transaction
89
+  (0.3ms) CREATE TEMPORARY TABLE "apersistent_hash" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key_name" varchar NOT NULL, "readable_value" varchar NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL) 
90
+  (0.1ms) SELECT sql
91
+ FROM sqlite_master
92
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
93
+ UNION ALL
94
+ SELECT sql
95
+ FROM sqlite_temp_master
96
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
97
+
98
+  (0.0ms) select sqlite_version(*)
99
+  (0.1ms) CREATE UNIQUE INDEX "tindex_apersistent_hash_on_key_name" ON "apersistent_hash" ("key_name")
100
+  (6.0ms) SELECT * FROM "persistent_hash"
101
+  (1.2ms) DROP TABLE "persistent_hash"
102
+  (0.2ms) CREATE TABLE "persistent_hash" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key_name" varchar NOT NULL, "readable_value" text NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL) 
103
+  (0.1ms) SELECT sql
104
+ FROM sqlite_master
105
+ WHERE name='tindex_apersistent_hash_on_key_name' AND type='index'
106
+ UNION ALL
107
+ SELECT sql
108
+ FROM sqlite_temp_master
109
+ WHERE name='tindex_apersistent_hash_on_key_name' AND type='index'
110
+
111
+  (0.1ms) CREATE UNIQUE INDEX "index_persistent_hash_on_key_name" ON "persistent_hash" ("key_name")
112
+  (0.0ms) SELECT * FROM "apersistent_hash"
113
+  (0.1ms) DROP TABLE "apersistent_hash"
114
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110111600"]]
115
+  (0.6ms) commit transaction
116
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
117
+  (0.1ms)  SELECT sql
118
+ FROM sqlite_master
119
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
120
+ UNION ALL
121
+ SELECT sql
122
+ FROM sqlite_temp_master
123
+ WHERE name='index_persistent_hash_on_key_name' AND type='index'
124
+ 
125
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
126
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
127
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
128
+ boolean values and must have old data converted to 1 and 0 (its native boolean
129
+ serialization) before setting this flag to true. Conversion can be accomplished
130
+ by setting up a rake task which runs
131
+
132
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
133
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
134
+
135
+ for all models and all boolean columns, after which the flag must be set to
136
+ true by adding the following to your application.rb file:
137
+
138
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
139
+ (called from load at /Users/alex/.rvm/gems/ruby-2.5.5/bin/rake:23)
140
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
141
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
142
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
143
+ boolean values and must have old data converted to 1 and 0 (its native boolean
144
+ serialization) before setting this flag to true. Conversion can be accomplished
145
+ by setting up a rake task which runs
146
+
147
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
148
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
149
+
150
+ for all models and all boolean columns, after which the flag must be set to
151
+ true by adding the following to your application.rb file:
152
+
153
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
154
+ (called from require at bin/rails:4)
155
+  (0.0ms) SELECT sqlite_version(*)
156
+  (2.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
157
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
158
+  (0.0ms) begin transaction
159
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-06-18 17:40:02.599955"], ["updated_at", "2019-06-18 17:40:02.599955"]]
160
+  (0.8ms) commit transaction
161
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
162
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
163
+ boolean values and must have old data converted to 1 and 0 (its native boolean
164
+ serialization) before setting this flag to true. Conversion can be accomplished
165
+ by setting up a rake task which runs
166
+
167
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
168
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
169
+
170
+ for all models and all boolean columns, after which the flag must be set to
171
+ true by adding the following to your application.rb file:
172
+
173
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
174
+ (called from require at bin/rails:4)
175
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
176
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
177
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
178
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
179
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
180
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
181
+  (0.0ms) SELECT sqlite_version(*)
182
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
183
+  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
184
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
185
+ Migrating to CreatePersistentHash (20150519145619)
186
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
187
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
188
+ boolean values and must have old data converted to 1 and 0 (its native boolean
189
+ serialization) before setting this flag to true. Conversion can be accomplished
190
+ by setting up a rake task which runs
191
+
192
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
193
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
194
+
195
+ for all models and all boolean columns, after which the flag must be set to
196
+ true by adding the following to your application.rb file:
197
+
198
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
199
+ (called from require at bin/rails:4)
200
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
201
+ Migrating to CreatePersistentHash (20150519145619)
202
+  (0.0ms) begin transaction
203
+  (0.1ms) SELECT sqlite_version(*)
204
+  (0.4ms) CREATE TABLE "persistent_hash" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key_name" varchar NOT NULL, "readable_value" varchar NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL)
205
+  (0.1ms) CREATE UNIQUE INDEX "persistent_hash_uniq" ON "persistent_hash" ("key_name")
206
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150519145619"]]
207
+  (0.9ms) commit transaction
208
+ Migrating to ConvertReadableValueToText (20161110111600)
209
+  (0.0ms) begin transaction
210
+  (0.1ms) CREATE TEMPORARY TABLE "apersistent_hash" ("id" integer NOT NULL PRIMARY KEY, "key_name" varchar NOT NULL, "readable_value" varchar NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL)
211
+  (0.1ms) CREATE UNIQUE INDEX "tpersistent_hash_uniq" ON "apersistent_hash" ("key_name")
212
+  (0.0ms) INSERT INTO "apersistent_hash" ("id","key_name","readable_value","marshalled","updated_at")
213
+ SELECT "id","key_name","readable_value","marshalled","updated_at" FROM "persistent_hash"
214
+  (0.2ms) DROP TABLE "persistent_hash"
215
+  (0.1ms) CREATE TABLE "persistent_hash" ("id" integer NOT NULL PRIMARY KEY, "key_name" varchar NOT NULL, "readable_value" text NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL)
216
+  (0.1ms) CREATE UNIQUE INDEX "persistent_hash_uniq" ON "persistent_hash" ("key_name")
217
+  (0.0ms) INSERT INTO "persistent_hash" ("id","key_name","readable_value","marshalled","updated_at")
218
+ SELECT "id","key_name","readable_value","marshalled","updated_at" FROM "apersistent_hash"
219
+  (0.1ms) DROP TABLE "apersistent_hash"
220
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110111600"]]
221
+  (0.6ms) commit transaction
222
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
223
+  (0.0ms) begin transaction
224
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-06-18 17:41:35.107605"], ["updated_at", "2019-06-18 17:41:35.107605"]]
225
+  (0.6ms) commit transaction
226
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
227
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
228
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
229
+ boolean values and must have old data converted to 1 and 0 (its native boolean
230
+ serialization) before setting this flag to true. Conversion can be accomplished
231
+ by setting up a rake task which runs
232
+
233
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
234
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
235
+
236
+ for all models and all boolean columns, after which the flag must be set to
237
+ true by adding the following to your application.rb file:
238
+
239
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
240
+ (called from require at bin/rails:4)
241
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
242
+ Migrating to Utf8Mb4 (20190618182005)
243
+  (0.0ms) begin transaction
244
+  (0.0ms) SELECT sqlite_version(*)
245
+  (0.2ms) CREATE TEMPORARY TABLE "apersistent_hash" ("id" integer NOT NULL PRIMARY KEY, "key_name" varchar NOT NULL, "readable_value" text NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL)
246
+  (0.1ms) CREATE UNIQUE INDEX "tpersistent_hash_uniq" ON "apersistent_hash" ("key_name")
247
+  (0.4ms) INSERT INTO "apersistent_hash" ("id","key_name","readable_value","marshalled","updated_at")
248
+ SELECT "id","key_name","readable_value","marshalled","updated_at" FROM "persistent_hash"
249
+  (0.9ms) DROP TABLE "persistent_hash"
250
+  (0.1ms) CREATE TABLE "persistent_hash" ("id" integer NOT NULL PRIMARY KEY, "key_name" varchar(191) NOT NULL, "readable_value" text NOT NULL, "marshalled" text NOT NULL, "updated_at" datetime NOT NULL)
251
+  (0.1ms) CREATE UNIQUE INDEX "persistent_hash_uniq" ON "persistent_hash" ("key_name")
252
+  (0.0ms) INSERT INTO "persistent_hash" ("id","key_name","readable_value","marshalled","updated_at")
253
+ SELECT "id","key_name","readable_value","marshalled","updated_at" FROM "apersistent_hash"
254
+  (0.1ms) DROP TABLE "apersistent_hash"
255
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190618182005"]]
256
+  (0.7ms) commit transaction
257
+ ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
258
+  (0.0ms) begin transaction
259
+  (0.0ms) commit transaction
260
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
261
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
262
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
263
+ boolean values and must have old data converted to 1 and 0 (its native boolean
264
+ serialization) before setting this flag to true. Conversion can be accomplished
265
+ by setting up a rake task which runs
266
+
267
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
268
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
269
+
270
+ for all models and all boolean columns, after which the flag must be set to
271
+ true by adding the following to your application.rb file:
272
+
273
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
274
+ (called from require at bin/rails:12)
275
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
276
+  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
277
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
278
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
279
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
280
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
281
+  (0.3ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
282
+  (4.7ms) CREATE DATABASE `persistent_hash_development` DEFAULT COLLATE `utf8mb4_unicode_ci`
283
+  (0.2ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
284
+  (0.2ms) CREATE DATABASE `persistent_hash_test` DEFAULT COLLATE `utf8mb4_unicode_ci`
285
+  (1.6ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
286
+  (0.3ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
287
+  (0.2ms) DROP TABLE IF EXISTS `persistent_hash` CASCADE
288
+  (15.1ms) CREATE TABLE `persistent_hash` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key_name` varchar(191) NOT NULL, `readable_value` text NOT NULL, `marshalled` text NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `persistent_hash_uniq` (`key_name`))
289
+  (13.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) COLLATE utf8_unicode_ci NOT NULL PRIMARY KEY)
290
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
291
+  (3.9ms) INSERT INTO `schema_migrations` (version) VALUES (20190618182005)
292
+  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES
293
+ (20161110111600),
294
+ (20150518213536);
295
+
296
+ 
297
+  (15.6ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) COLLATE utf8_unicode_ci NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL)
298
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
299
+  (0.1ms) BEGIN
300
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2019-06-18 19:12:09', '2019-06-18 19:12:09')
301
+  (0.4ms) COMMIT
302
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
303
+  (0.1ms) BEGIN
304
+  (0.1ms) COMMIT
305
+  (0.2ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
306
+  (3.9ms) DROP TABLE IF EXISTS `persistent_hash` CASCADE
307
+  (11.2ms) CREATE TABLE `persistent_hash` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key_name` varchar(191) NOT NULL, `readable_value` text NOT NULL, `marshalled` text NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `persistent_hash_uniq` (`key_name`))
308
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
309
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
310
+  (0.6ms) BEGIN
311
+ ActiveRecord::InternalMetadata Update (0.9ms) UPDATE `ar_internal_metadata` SET `value` = 'development', `updated_at` = '2019-06-18 19:12:09' WHERE `ar_internal_metadata`.`key` = 'environment'
312
+  (0.4ms) COMMIT
313
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
314
+  (0.1ms) BEGIN
315
+ ActiveRecord::InternalMetadata Update (0.2ms) UPDATE `ar_internal_metadata` SET `value` = 'test' WHERE `ar_internal_metadata`.`key` = 'environment'
316
+  (0.3ms) COMMIT
317
+  (4.4ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
318
+  (2.7ms) CREATE DATABASE `persistent_hash_development` DEFAULT COLLATE `utf8mb4_unicode_ci`
319
+  (0.2ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
320
+  (0.3ms) CREATE DATABASE `persistent_hash_test` DEFAULT COLLATE `utf8mb4_unicode_ci`
321
+  (0.7ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
322
+  (0.4ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
323
+  (2.6ms) DROP TABLE IF EXISTS `persistent_hash` CASCADE
324
+  (61.8ms) CREATE TABLE `persistent_hash` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key_name` varchar(191) NOT NULL, `readable_value` text NOT NULL, `marshalled` text NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `persistent_hash_uniq` (`key_name`))
325
+  (28.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) COLLATE utf8_unicode_ci NOT NULL PRIMARY KEY)
326
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
327
+  (1.0ms) INSERT INTO `schema_migrations` (version) VALUES (20190618182005)
328
+  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES
329
+ (20161110111600),
330
+ (20150518213536);
331
+
332
+ 
333
+  (27.4ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) COLLATE utf8_unicode_ci NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL)
334
+ ActiveRecord::InternalMetadata Load (0.9ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
335
+  (0.2ms) BEGIN
336
+ ActiveRecord::InternalMetadata Create (1.0ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2021-12-31 19:27:51', '2021-12-31 19:27:51')
337
+  (0.5ms) COMMIT
338
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
339
+  (0.2ms) BEGIN
340
+  (0.1ms) COMMIT
341
+  (0.8ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
342
+  (0.2ms) DROP TABLE IF EXISTS `persistent_hash` CASCADE
343
+  (24.5ms) CREATE TABLE `persistent_hash` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key_name` varchar(191) NOT NULL, `readable_value` text NOT NULL, `marshalled` text NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `persistent_hash_uniq` (`key_name`))
344
+  (26.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY)
345
+  (0.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
346
+  (1.3ms) INSERT INTO `schema_migrations` (version) VALUES (20190618182005)
347
+  (0.6ms) INSERT INTO `schema_migrations` (version) VALUES
348
+ (20161110111600),
349
+ (20150518213536);
350
+
351
+ 
352
+  (23.6ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL)
353
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
354
+  (0.1ms) BEGIN
355
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2021-12-31 19:27:51', '2021-12-31 19:27:51')
356
+  (0.4ms) COMMIT
357
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
358
+  (0.1ms) BEGIN
359
+ ActiveRecord::InternalMetadata Update (0.7ms) UPDATE `ar_internal_metadata` SET `value` = 'test' WHERE `ar_internal_metadata`.`key` = 'environment'
360
+  (0.3ms) COMMIT
361
+  (0.3ms) SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
362
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
363
+ Generating image variants require the image_processing gem. Please add `gem "image_processing", "~> 1.2"` to your Gemfile or set `config.active_storage.variant_processor = :disabled`.
364
+  (6.6ms) CREATE DATABASE `persistent_hash_development` DEFAULT COLLATE `utf8mb4_unicode_ci`
365
+  (2.2ms) CREATE DATABASE `persistent_hash_test` DEFAULT COLLATE `utf8mb4_unicode_ci`
366
+ Generating image variants require the image_processing gem. Please add `gem "image_processing", "~> 1.2"` to your Gemfile or set `config.active_storage.variant_processor = :disabled`.
367
+  (1.3ms) DROP TABLE IF EXISTS `persistent_hash` CASCADE
368
+  (8.1ms) CREATE TABLE `persistent_hash` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key_name` varchar(191) NOT NULL, `readable_value` text NOT NULL, `marshalled` text NOT NULL, `updated_at` datetime(6) NOT NULL, UNIQUE INDEX `persistent_hash_uniq` (`key_name`))
369
+  (6.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY)
370
+ ActiveRecord::SchemaMigration Load (8.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
371
+  (1.4ms) INSERT INTO `schema_migrations` (version) VALUES (20190618182005)
372
+  (1.4ms) INSERT INTO `schema_migrations` (version) VALUES
373
+ (20161110111600),
374
+ (20150518213536);
375
+  (6.9ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime(6) NOT NULL, `updated_at` datetime(6) NOT NULL)
376
+ ActiveRecord::InternalMetadata Load (1.2ms) SELECT * FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' ORDER BY `ar_internal_metadata`.`key` ASC LIMIT 1
377
+ ActiveRecord::InternalMetadata Create (0.9ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2026-06-08 23:25:16.434506', '2026-06-08 23:25:16.434510')
378
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT * FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' ORDER BY `ar_internal_metadata`.`key` ASC LIMIT 1
379
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT * FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'schema_sha1' ORDER BY `ar_internal_metadata`.`key` ASC LIMIT 1
380
+ ActiveRecord::InternalMetadata Create (1.0ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('schema_sha1', 'a0602c99b3b39f3943e95d2bd34343a09902d8ed', '2026-06-08 23:25:16.439218', '2026-06-08 23:25:16.439220')
381
+  (2.1ms) DROP TABLE IF EXISTS `persistent_hash` CASCADE
382
+  (8.8ms) CREATE TABLE `persistent_hash` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key_name` varchar(191) NOT NULL, `readable_value` text NOT NULL, `marshalled` text NOT NULL, `updated_at` datetime(6) NOT NULL, UNIQUE INDEX `persistent_hash_uniq` (`key_name`))
383
+  (6.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY)
384
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
385
+  (1.0ms) INSERT INTO `schema_migrations` (version) VALUES (20190618182005)
386
+  (0.9ms) INSERT INTO `schema_migrations` (version) VALUES
387
+ (20161110111600),
388
+ (20150518213536);
389
+  (7.4ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime(6) NOT NULL, `updated_at` datetime(6) NOT NULL)
390
+ ActiveRecord::InternalMetadata Load (1.1ms) SELECT * FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' ORDER BY `ar_internal_metadata`.`key` ASC LIMIT 1
391
+ ActiveRecord::InternalMetadata Create (0.9ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2026-06-08 23:25:16.480545', '2026-06-08 23:25:16.480548')
392
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT * FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' ORDER BY `ar_internal_metadata`.`key` ASC LIMIT 1
393
+ ActiveRecord::InternalMetadata Update (1.0ms) UPDATE `ar_internal_metadata` SET `ar_internal_metadata`.`value` = 'test', `ar_internal_metadata`.`updated_at` = '2026-06-08 23:25:16.484222' WHERE `ar_internal_metadata`.`key` = 'environment'
394
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT * FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'schema_sha1' ORDER BY `ar_internal_metadata`.`key` ASC LIMIT 1
395
+ ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('schema_sha1', 'a0602c99b3b39f3943e95d2bd34343a09902d8ed', '2026-06-08 23:25:16.485921', '2026-06-08 23:25:16.485924')
396
+ PersistentHash::Hash Load (0.8ms) SELECT `persistent_hash`.`marshalled` FROM `persistent_hash` WHERE `persistent_hash`.`key_name` = 'a' ORDER BY `persistent_hash`.`id` ASC LIMIT 1
397
+ PersistentHash::Hash Load (0.5ms) SELECT `persistent_hash`.* FROM `persistent_hash` WHERE `persistent_hash`.`key_name` = 'a' ORDER BY `persistent_hash`.`id` ASC LIMIT 1 FOR UPDATE
398
+ TRANSACTION (0.3ms) BEGIN
399
+ PersistentHash::Hash Create (0.9ms) INSERT INTO `persistent_hash` (`key_name`, `readable_value`, `marshalled`, `updated_at`) VALUES ('a', '5', 'BAhpCg==\n', '2026-06-08 23:25:51.408520')
400
+ TRANSACTION (1.1ms) COMMIT
401
+ PersistentHash::Hash Load (0.5ms) SELECT `persistent_hash`.* FROM `persistent_hash` WHERE `persistent_hash`.`key_name` = 'a' ORDER BY `persistent_hash`.`id` ASC LIMIT 1 FOR UPDATE
402
+ TRANSACTION (0.2ms) BEGIN
403
+ PersistentHash::Hash Update (0.9ms) UPDATE `persistent_hash` SET `persistent_hash`.`readable_value` = '{a: 1}', `persistent_hash`.`marshalled` = 'BAh7BjoGYWkG\n', `persistent_hash`.`updated_at` = '2026-06-08 23:25:56.668733' WHERE `persistent_hash`.`id` = 1
404
+ TRANSACTION (0.9ms) COMMIT
405
+ PersistentHash::Hash Load (0.5ms) SELECT `persistent_hash`.`marshalled` FROM `persistent_hash` WHERE `persistent_hash`.`key_name` = 'a' ORDER BY `persistent_hash`.`id` ASC LIMIT 1