career 0.0.1

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 (85) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +174 -0
  4. data/Rakefile +5 -0
  5. data/app/assets/config/career_manifest.js +1 -0
  6. data/app/assets/stylesheets/career/application.css +15 -0
  7. data/app/controllers/career/application_controller.rb +4 -0
  8. data/app/controllers/career/tasks_controller.rb +13 -0
  9. data/app/helpers/career/application_helper.rb +4 -0
  10. data/app/jobs/career/application_job.rb +4 -0
  11. data/app/mailers/career/application_mailer.rb +6 -0
  12. data/app/models/career/application_record.rb +5 -0
  13. data/app/models/career/task.rb +62 -0
  14. data/app/models/career/task_log_entry.rb +11 -0
  15. data/app/views/career/tasks/index.html.erb +28 -0
  16. data/app/views/career/tasks/show.html.erb +16 -0
  17. data/app/views/layouts/career/application.html.erb +15 -0
  18. data/config/routes.rb +3 -0
  19. data/db/migrate/20210423134400_create_career_tasks.rb +17 -0
  20. data/db/migrate/20210423182534_create_career_task_log_entries.rb +11 -0
  21. data/lib/career.rb +6 -0
  22. data/lib/career/engine.rb +11 -0
  23. data/lib/career/version.rb +3 -0
  24. data/lib/tasks/career_tasks.rake +4 -0
  25. data/spec/dummy/Rakefile +6 -0
  26. data/spec/dummy/app/assets/config/manifest.js +2 -0
  27. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  28. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  29. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  30. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  31. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  32. data/spec/dummy/app/javascript/packs/application.js +15 -0
  33. data/spec/dummy/app/jobs/application_job.rb +7 -0
  34. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  35. data/spec/dummy/app/models/application_record.rb +3 -0
  36. data/spec/dummy/app/views/layouts/application.html.erb +15 -0
  37. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  38. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  39. data/spec/dummy/bin/rails +4 -0
  40. data/spec/dummy/bin/rake +4 -0
  41. data/spec/dummy/bin/setup +33 -0
  42. data/spec/dummy/config.ru +6 -0
  43. data/spec/dummy/config/application.rb +38 -0
  44. data/spec/dummy/config/boot.rb +5 -0
  45. data/spec/dummy/config/cable.yml +10 -0
  46. data/spec/dummy/config/database.yml +19 -0
  47. data/spec/dummy/config/database.yml.tmpl +19 -0
  48. data/spec/dummy/config/environment.rb +5 -0
  49. data/spec/dummy/config/environments/development.rb +76 -0
  50. data/spec/dummy/config/environments/production.rb +120 -0
  51. data/spec/dummy/config/environments/test.rb +59 -0
  52. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  53. data/spec/dummy/config/initializers/assets.rb +12 -0
  54. data/spec/dummy/config/initializers/backtrace_silencers.rb +8 -0
  55. data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
  56. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  57. data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
  58. data/spec/dummy/config/initializers/inflections.rb +16 -0
  59. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  60. data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
  61. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  62. data/spec/dummy/config/locales/en.yml +33 -0
  63. data/spec/dummy/config/puma.rb +43 -0
  64. data/spec/dummy/config/routes.rb +3 -0
  65. data/spec/dummy/config/storage.yml +34 -0
  66. data/spec/dummy/db/migrate/20210423141758_create_career_tasks.career.rb +18 -0
  67. data/spec/dummy/db/migrate/20210423182737_create_career_task_log_entries.career.rb +12 -0
  68. data/spec/dummy/db/schema.rb +41 -0
  69. data/spec/dummy/log/development.log +198 -0
  70. data/spec/dummy/log/test.log +306 -0
  71. data/spec/dummy/public/404.html +67 -0
  72. data/spec/dummy/public/422.html +67 -0
  73. data/spec/dummy/public/500.html +66 -0
  74. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  75. data/spec/dummy/public/apple-touch-icon.png +0 -0
  76. data/spec/dummy/public/favicon.ico +0 -0
  77. data/spec/dummy/tmp/development_secret.txt +1 -0
  78. data/spec/factories/career/task_log_entries.rb +7 -0
  79. data/spec/factories/career/tasks.rb +9 -0
  80. data/spec/models/career/task_log_entry_spec.rb +17 -0
  81. data/spec/models/career/task_spec.rb +25 -0
  82. data/spec/rails_helper.rb +70 -0
  83. data/spec/spec_helper.rb +96 -0
  84. data/spec/support/factory_bot.rb +3 -0
  85. metadata +251 -0
@@ -0,0 +1,59 @@
1
+ require "active_support/core_ext/integer/time"
2
+
3
+ # The test environment is used exclusively to run your application's
4
+ # test suite. You never need to work with it otherwise. Remember that
5
+ # your test database is "scratch space" for the test suite and is wiped
6
+ # and recreated between test runs. Don't rely on the data there!
7
+
8
+ Rails.application.configure do
9
+ # Settings specified here will take precedence over those in config/application.rb.
10
+
11
+ config.cache_classes = true
12
+
13
+ # Do not eager load code on boot. This avoids loading your whole application
14
+ # just for the purpose of running a single test. If you are using a tool that
15
+ # preloads Rails for running tests, you may have to set it to true.
16
+ config.eager_load = false
17
+
18
+ # Configure public file server for tests with Cache-Control for performance.
19
+ config.public_file_server.enabled = true
20
+ config.public_file_server.headers = {
21
+ 'Cache-Control' => "public, max-age=#{1.hour.to_i}"
22
+ }
23
+
24
+ # Show full error reports and disable caching.
25
+ config.consider_all_requests_local = true
26
+ config.action_controller.perform_caching = false
27
+ config.cache_store = :null_store
28
+
29
+ # Raise exceptions instead of rendering exception templates.
30
+ config.action_dispatch.show_exceptions = false
31
+
32
+ # Disable request forgery protection in test environment.
33
+ config.action_controller.allow_forgery_protection = false
34
+
35
+ # Store uploaded files on the local file system in a temporary directory.
36
+ config.active_storage.service = :test
37
+
38
+ config.action_mailer.perform_caching = false
39
+
40
+ # Tell Action Mailer not to deliver emails to the real world.
41
+ # The :test delivery method accumulates sent emails in the
42
+ # ActionMailer::Base.deliveries array.
43
+ config.action_mailer.delivery_method = :test
44
+
45
+ # Print deprecation notices to the stderr.
46
+ config.active_support.deprecation = :stderr
47
+
48
+ # Raise exceptions for disallowed deprecations.
49
+ config.active_support.disallowed_deprecation = :raise
50
+
51
+ # Tell Active Support which deprecation messages to disallow.
52
+ config.active_support.disallowed_deprecation_warnings = []
53
+
54
+ # Raises error for missing translations.
55
+ # config.i18n.raise_on_missing_translations = true
56
+
57
+ # Annotate rendered view with file names.
58
+ # config.action_view.annotate_rendered_view_with_filenames = true
59
+ end
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # ActiveSupport::Reloader.to_prepare do
4
+ # ApplicationController.renderer.defaults.merge!(
5
+ # http_host: 'example.org',
6
+ # https: false
7
+ # )
8
+ # end
@@ -0,0 +1,12 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path.
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in the app/assets
11
+ # folder are already added.
12
+ # Rails.application.config.assets.precompile += %w( admin.js admin.css )
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| /my_noisy_library/.match?(line) }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
7
+ # by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'".
8
+ Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"]
@@ -0,0 +1,28 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Define an application-wide content security policy
4
+ # For further information see the following documentation
5
+ # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
6
+
7
+ # Rails.application.config.content_security_policy do |policy|
8
+ # policy.default_src :self, :https
9
+ # policy.font_src :self, :https, :data
10
+ # policy.img_src :self, :https, :data
11
+ # policy.object_src :none
12
+ # policy.script_src :self, :https
13
+ # policy.style_src :self, :https
14
+
15
+ # # Specify URI for violation reports
16
+ # # policy.report_uri "/csp-violation-report-endpoint"
17
+ # end
18
+
19
+ # If you are using UJS then enable automatic nonce generation
20
+ # Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
21
+
22
+ # Set the nonce only to specific directives
23
+ # Rails.application.config.content_security_policy_nonce_directives = %w(script-src)
24
+
25
+ # Report CSP violations to a specified URI
26
+ # For further information see the following documentation:
27
+ # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
28
+ # Rails.application.config.content_security_policy_report_only = true
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Specify a serializer for the signed and encrypted cookie jars.
4
+ # Valid options are :json, :marshal, and :hybrid.
5
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,6 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [
5
+ :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
6
+ ]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -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
+ # Define an application-wide HTTP permissions policy. For further
2
+ # information see https://developers.google.com/web/updates/2018/06/feature-policy
3
+ #
4
+ # Rails.application.config.permissions_policy do |f|
5
+ # f.camera :none
6
+ # f.gyroscope :none
7
+ # f.microphone :none
8
+ # f.usb :none
9
+ # f.fullscreen :self
10
+ # f.payment :self, "https://secure.example.com"
11
+ # end
@@ -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]
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,33 @@
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
+ # The following keys must be escaped otherwise they will not be retrieved by
20
+ # the default I18n backend:
21
+ #
22
+ # true, false, on, off, yes, no
23
+ #
24
+ # Instead, surround them with single quotes.
25
+ #
26
+ # en:
27
+ # 'true': 'foo'
28
+ #
29
+ # To learn more, please read the Rails Internationalization guide
30
+ # available at https://guides.rubyonrails.org/i18n.html.
31
+
32
+ en:
33
+ hello: "Hello world"
@@ -0,0 +1,43 @@
1
+ # Puma can serve each request in a thread from an internal thread pool.
2
+ # The `threads` method setting takes two numbers: a minimum and maximum.
3
+ # Any libraries that use thread pools should be configured to match
4
+ # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
+ # and maximum; this matches the default thread size of Active Record.
6
+ #
7
+ max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
8
+ min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
9
+ threads min_threads_count, max_threads_count
10
+
11
+ # Specifies the `worker_timeout` threshold that Puma will use to wait before
12
+ # terminating a worker in development environments.
13
+ #
14
+ worker_timeout 3600 if ENV.fetch("RAILS_ENV", "development") == "development"
15
+
16
+ # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
17
+ #
18
+ port ENV.fetch("PORT") { 3000 }
19
+
20
+ # Specifies the `environment` that Puma will run in.
21
+ #
22
+ environment ENV.fetch("RAILS_ENV") { "development" }
23
+
24
+ # Specifies the `pidfile` that Puma will use.
25
+ pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
26
+
27
+ # Specifies the number of `workers` to boot in clustered mode.
28
+ # Workers are forked web server processes. If using threads and workers together
29
+ # the concurrency of the application would be max `threads` * `workers`.
30
+ # Workers do not work on JRuby or Windows (both of which do not support
31
+ # processes).
32
+ #
33
+ # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
34
+
35
+ # Use the `preload_app!` method when specifying a `workers` number.
36
+ # This directive tells Puma to first boot the application and load code
37
+ # before forking the application. This takes advantage of Copy On Write
38
+ # process behavior so workers use less memory.
39
+ #
40
+ # preload_app!
41
+
42
+ # Allow puma to be restarted by `rails restart` command.
43
+ plugin :tmp_restart
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
3
+ end
@@ -0,0 +1,34 @@
1
+ test:
2
+ service: Disk
3
+ root: <%= Rails.root.join("tmp/storage") %>
4
+
5
+ local:
6
+ service: Disk
7
+ root: <%= Rails.root.join("storage") %>
8
+
9
+ # Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10
+ # amazon:
11
+ # service: S3
12
+ # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13
+ # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14
+ # region: us-east-1
15
+ # bucket: your_own_bucket
16
+
17
+ # Remember not to checkin your GCS keyfile to a repository
18
+ # google:
19
+ # service: GCS
20
+ # project: your_project
21
+ # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22
+ # bucket: your_own_bucket
23
+
24
+ # Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25
+ # microsoft:
26
+ # service: AzureStorage
27
+ # storage_account_name: your_account_name
28
+ # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29
+ # container: your_container_name
30
+
31
+ # mirror:
32
+ # service: Mirror
33
+ # primary: local
34
+ # mirrors: [ amazon, google, microsoft ]
@@ -0,0 +1,18 @@
1
+ # This migration comes from career (originally 20210423134400)
2
+ class CreateCareerTasks < ActiveRecord::Migration[6.1]
3
+ def change
4
+ create_table :career_tasks do |t|
5
+ t.string :status
6
+ t.float :percent_complete
7
+ t.string :description
8
+ t.string :class_name
9
+ t.datetime :started_at
10
+ t.datetime :completed_at
11
+ t.integer :user_id
12
+ t.text :params
13
+ t.datetime :scheduled_at
14
+
15
+ t.timestamps
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,12 @@
1
+ # This migration comes from career (originally 20210423182534)
2
+ class CreateCareerTaskLogEntries < ActiveRecord::Migration[6.1]
3
+ def change
4
+ create_table :career_task_log_entries do |t|
5
+ t.text :content
6
+ t.string :entry_type
7
+ t.text :data
8
+ t.integer :task_id
9
+ t.timestamps
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,41 @@
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
+ # This file is the source Rails uses to define your schema when running `bin/rails
6
+ # db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
7
+ # be faster and is potentially less error prone than running all of your
8
+ # migrations from scratch. Old migrations may fail to apply correctly if those
9
+ # migrations use external dependencies or application code.
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 2021_04_23_182737) do
14
+
15
+ # These are extensions that must be enabled in order to support this database
16
+ enable_extension "plpgsql"
17
+
18
+ create_table "career_task_log_entries", force: :cascade do |t|
19
+ t.text "content"
20
+ t.string "entry_type"
21
+ t.text "data"
22
+ t.integer "task_id"
23
+ t.datetime "created_at", precision: 6, null: false
24
+ t.datetime "updated_at", precision: 6, null: false
25
+ end
26
+
27
+ create_table "career_tasks", force: :cascade do |t|
28
+ t.string "status"
29
+ t.float "percent_complete"
30
+ t.string "description"
31
+ t.string "class_name"
32
+ t.datetime "started_at"
33
+ t.datetime "completed_at"
34
+ t.integer "user_id"
35
+ t.text "params"
36
+ t.datetime "scheduled_at"
37
+ t.datetime "created_at", precision: 6, null: false
38
+ t.datetime "updated_at", precision: 6, null: false
39
+ end
40
+
41
+ end
@@ -0,0 +1,198 @@
1
+  (87.7ms) CREATE DATABASE "dummy_development" ENCODING = 'unicode'
2
+  (33.8ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
3
+  (12.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
4
+  (2.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
5
+  (0.2ms) SELECT pg_try_advisory_lock(1721091371569202325)
6
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
8
+ TRANSACTION (0.1ms) BEGIN
9
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2021-04-23 14:07:36.845948"], ["updated_at", "2021-04-23 14:07:36.845948"]]
10
+ TRANSACTION (0.1ms) COMMIT
11
+  (0.1ms) SELECT pg_advisory_unlock(1721091371569202325)
12
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
13
+  (0.2ms) SELECT pg_try_advisory_lock(1721091371569202325)
14
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
15
+ Migrating to CreateCareerTasks (20210423141149)
16
+ TRANSACTION (0.1ms) BEGIN
17
+  (8.8ms) CREATE TABLE "career_tasks" ("id" bigserial primary key, "status" character varying, "percent_complete" float, "description" character varying, "class_name" character varying, "started_at" timestamp, "completed_at" timestamp, "user_id" integer, "params" text, "scheduled_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
18
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20210423141149"]]
19
+ TRANSACTION (0.5ms) COMMIT
20
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
21
+  (0.6ms) SELECT pg_advisory_unlock(1721091371569202325)
22
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
23
+  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
24
+  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
25
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
26
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
27
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
28
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
29
+  (34.4ms) DROP DATABASE IF EXISTS "dummy_test"
30
+  (48.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
31
+ SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
32
+  (0.5ms) DROP TABLE IF EXISTS "career_tasks" CASCADE
33
+  (4.3ms) CREATE TABLE "career_tasks" ("id" bigserial primary key, "status" character varying, "percent_complete" float, "description" character varying, "class_name" character varying, "started_at" timestamp, "completed_at" timestamp, "user_id" integer, "params" text, "scheduled_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
34
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
35
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
36
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES (20210423141149)
37
+  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
38
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
39
+ TRANSACTION (0.1ms) BEGIN
40
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2021-04-23 14:15:35.819032"], ["updated_at", "2021-04-23 14:15:35.819032"]]
41
+ TRANSACTION (0.1ms) COMMIT
42
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
43
+ TRANSACTION (0.1ms) BEGIN
44
+ ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2021-04-23 14:15:35.822351"], ["key", "environment"]]
45
+ TRANSACTION (0.1ms) COMMIT
46
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
47
+ TRANSACTION (0.0ms) BEGIN
48
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "71775b1873dc6813cd1bc7ca25afc3b46e7eb229"], ["created_at", "2021-04-23 14:15:35.824883"], ["updated_at", "2021-04-23 14:15:35.824883"]]
49
+ TRANSACTION (0.1ms) COMMIT
50
+  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
52
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
53
+  (0.2ms) SELECT pg_try_advisory_lock(1721091371569202325)
54
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
55
+ Migrating to CreateCareerTasks (20210423141149)
56
+ TRANSACTION (0.2ms) BEGIN
57
+  (6.8ms) DROP TABLE "career_tasks"
58
+ ActiveRecord::SchemaMigration Destroy (1.4ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20210423141149"]]
59
+ TRANSACTION (2.4ms) COMMIT
60
+  (0.4ms) SELECT pg_advisory_unlock(1721091371569202325)
61
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
62
+  (0.1ms) SELECT pg_try_advisory_lock(1721091371569202325)
63
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
64
+ Migrating to CreateCareerTasks (20210423141758)
65
+ TRANSACTION (0.1ms) BEGIN
66
+  (6.1ms) CREATE TABLE "career_tasks" ("id" bigserial primary key, "status" character varying, "percent_complete" float, "description" character varying, "class_name" character varying, "started_at" timestamp, "completed_at" timestamp, "user_id" integer, "params" text, "scheduled_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
67
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20210423141758"]]
68
+ TRANSACTION (0.5ms) COMMIT
69
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
70
+  (0.4ms) SELECT pg_advisory_unlock(1721091371569202325)
71
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
72
+  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
73
+  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
74
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
75
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
76
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
77
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
78
+  (24.1ms) DROP DATABASE IF EXISTS "dummy_test"
79
+  (49.4ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
80
+ SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
81
+  (0.1ms) DROP TABLE IF EXISTS "career_tasks" CASCADE
82
+  (4.2ms) CREATE TABLE "career_tasks" ("id" bigserial primary key, "status" character varying, "percent_complete" float, "description" character varying, "class_name" character varying, "started_at" timestamp, "completed_at" timestamp, "user_id" integer, "params" text, "scheduled_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
83
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
84
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
85
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES (20210423141758)
86
+  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
87
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
88
+ TRANSACTION (0.1ms) BEGIN
89
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2021-04-23 14:21:24.352885"], ["updated_at", "2021-04-23 14:21:24.352885"]]
90
+ TRANSACTION (0.1ms) COMMIT
91
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
92
+ TRANSACTION (0.0ms) BEGIN
93
+ ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2021-04-23 14:21:24.356370"], ["key", "environment"]]
94
+ TRANSACTION (0.1ms) COMMIT
95
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
96
+ TRANSACTION (0.0ms) BEGIN
97
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "056165a3d1e87bbccae2f867dc87cc2fb6a26d35"], ["created_at", "2021-04-23 14:21:24.358713"], ["updated_at", "2021-04-23 14:21:24.358713"]]
98
+ TRANSACTION (0.1ms) COMMIT
99
+  (0.1ms) SELECT pg_try_advisory_lock(1721091371569202325)
100
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
101
+ Migrating to CreateCareerTaskLogEntries (20210423182737)
102
+ TRANSACTION (0.1ms) BEGIN
103
+  (5.0ms) CREATE TABLE "career_task_log_entries" ("id" bigserial primary key, "content" text, "entry_type" character varying, "data" text, "career_task_id" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
104
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20210423182737"]]
105
+ TRANSACTION (0.6ms) COMMIT
106
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
107
+  (0.2ms) SELECT pg_advisory_unlock(1721091371569202325)
108
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
109
+ TRANSACTION (0.4ms) BEGIN
110
+ Career::Task Create (3.9ms) INSERT INTO "career_tasks" ("status", "percent_complete", "description", "class_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", "scheduled"], ["percent_complete", 0.0], ["description", "Test"], ["class_name", "TestJob"], ["created_at", "2021-04-23 18:29:12.695988"], ["updated_at", "2021-04-23 18:29:12.695988"]]
111
+ TRANSACTION (0.5ms) COMMIT
112
+  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
113
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
114
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
115
+  (0.2ms) SELECT pg_try_advisory_lock(1721091371569202325)
116
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
117
+ Migrating to CreateCareerTaskLogEntries (20210423182737)
118
+ TRANSACTION (0.1ms) BEGIN
119
+  (4.3ms) DROP TABLE "career_task_log_entries"
120
+ ActiveRecord::SchemaMigration Destroy (0.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20210423182737"]]
121
+ TRANSACTION (2.5ms) COMMIT
122
+  (0.5ms) SELECT pg_advisory_unlock(1721091371569202325)
123
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
124
+  (0.2ms) SELECT pg_try_advisory_lock(1721091371569202325)
125
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
126
+ Migrating to CreateCareerTaskLogEntries (20210423182737)
127
+ TRANSACTION (0.2ms) BEGIN
128
+  (8.2ms) CREATE TABLE "career_task_log_entries" ("id" bigserial primary key, "content" text, "entry_type" character varying, "data" text, "career_task_id" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
129
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20210423182737"]]
130
+ TRANSACTION (0.4ms) COMMIT
131
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
132
+  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325)
133
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
134
+ Career::Task Load (0.9ms) SELECT "career_tasks".* FROM "career_tasks" ORDER BY "career_tasks"."id" ASC LIMIT $1 [["LIMIT", 1]]
135
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
136
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
137
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
138
+  (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325)
139
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
140
+ Migrating to CreateCareerTaskLogEntries (20210423182737)
141
+ TRANSACTION (0.2ms) BEGIN
142
+  (4.2ms) DROP TABLE "career_task_log_entries"
143
+ ActiveRecord::SchemaMigration Destroy (0.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20210423182737"]]
144
+ TRANSACTION (3.0ms) COMMIT
145
+  (0.5ms) SELECT pg_advisory_unlock(1721091371569202325)
146
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
147
+  (0.1ms) SELECT pg_try_advisory_lock(1721091371569202325)
148
+  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
149
+ Migrating to CreateCareerTaskLogEntries (20210423182737)
150
+ TRANSACTION (0.1ms) BEGIN
151
+  (9.7ms) CREATE TABLE "career_task_log_entries" ("id" bigserial primary key, "content" text, "entry_type" character varying, "data" text, "task_id" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
152
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20210423182737"]]
153
+ TRANSACTION (0.4ms) COMMIT
154
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
155
+  (0.6ms) SELECT pg_advisory_unlock(1721091371569202325)
156
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
157
+ TRANSACTION (0.5ms) BEGIN
158
+ Career::TaskLogEntry Create (2.9ms) INSERT INTO "career_task_log_entries" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2021-04-23 18:31:32.978072"], ["updated_at", "2021-04-23 18:31:32.978072"]]
159
+ TRANSACTION (0.4ms) COMMIT
160
+ Career::Task Load (1.1ms) SELECT "career_tasks".* FROM "career_tasks" ORDER BY "career_tasks"."id" ASC LIMIT $1 [["LIMIT", 1]]
161
+ TRANSACTION (0.2ms) BEGIN
162
+ Career::TaskLogEntry Update (1.4ms) UPDATE "career_task_log_entries" SET "task_id" = $1, "updated_at" = $2 WHERE "career_task_log_entries"."id" = $3 [["task_id", 1], ["updated_at", "2021-04-23 18:32:03.200367"], ["id", 1]]
163
+ TRANSACTION (0.5ms) COMMIT
164
+ Career::Task Load (0.7ms) SELECT "career_tasks".* FROM "career_tasks" WHERE "career_tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
165
+ Career::TaskLogEntry Load (0.8ms) SELECT "career_task_log_entries".* FROM "career_task_log_entries" WHERE "career_task_log_entries"."task_id" = $1 /* loading for inspect */ LIMIT $2 [["task_id", 1], ["LIMIT", 11]]
166
+  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
167
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
168
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
169
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
170
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
171
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
172
+  (27.0ms) DROP DATABASE IF EXISTS "dummy_test"
173
+  (85.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
174
+ SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
175
+  (0.1ms) DROP TABLE IF EXISTS "career_task_log_entries" CASCADE
176
+  (4.2ms) CREATE TABLE "career_task_log_entries" ("id" bigserial primary key, "content" text, "entry_type" character varying, "data" text, "task_id" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
177
+  (0.1ms) DROP TABLE IF EXISTS "career_tasks" CASCADE
178
+  (2.2ms) CREATE TABLE "career_tasks" ("id" bigserial primary key, "status" character varying, "percent_complete" float, "description" character varying, "class_name" character varying, "started_at" timestamp, "completed_at" timestamp, "user_id" integer, "params" text, "scheduled_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
179
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
180
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
181
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES (20210423182737)
182
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES
183
+ (20210423141758);
184
+
185
+ 
186
+  (1.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
187
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
188
+ TRANSACTION (0.1ms) BEGIN
189
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2021-04-23 18:34:43.096356"], ["updated_at", "2021-04-23 18:34:43.096356"]]
190
+ TRANSACTION (0.1ms) COMMIT
191
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
192
+ TRANSACTION (0.0ms) BEGIN
193
+ ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2021-04-23 18:34:43.099741"], ["key", "environment"]]
194
+ TRANSACTION (0.1ms) COMMIT
195
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
196
+ TRANSACTION (0.0ms) BEGIN
197
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "d1f85889e8d490051828f2719ca07f79eefcd086"], ["created_at", "2021-04-23 18:34:43.102240"], ["updated_at", "2021-04-23 18:34:43.102240"]]
198
+ TRANSACTION (0.1ms) COMMIT