nulogy_message_bus_producer 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +35 -0
- data/Rakefile +22 -0
- data/db/migrate/20200611150212_create_public_subscriptions_and_events_tables.rb +25 -0
- data/lib/nulogy_message_bus_producer.rb +112 -0
- data/lib/nulogy_message_bus_producer/application_record.rb +6 -0
- data/lib/nulogy_message_bus_producer/base_public_subscription.rb +13 -0
- data/lib/nulogy_message_bus_producer/engine.rb +6 -0
- data/lib/nulogy_message_bus_producer/postgres_public_subscriptions.rb +102 -0
- data/lib/nulogy_message_bus_producer/public_subscription.rb +27 -0
- data/lib/nulogy_message_bus_producer/public_subscription_event.rb +13 -0
- data/lib/nulogy_message_bus_producer/subscriber_graphql_schema_validator.rb +45 -0
- data/lib/nulogy_message_bus_producer/version.rb +3 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +4 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +7 -0
- data/spec/dummy/app/controllers/dummy_controller.rb +17 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +38 -0
- data/spec/dummy/bin/update +29 -0
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +22 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +22 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +54 -0
- data/spec/dummy/config/environments/production.rb +91 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +56 -0
- data/spec/dummy/config/routes.rb +6 -0
- data/spec/dummy/config/secrets.yml +32 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/db/schema.rb +42 -0
- data/spec/dummy/log/development.log +1771 -0
- data/spec/dummy/log/test.log +14189 -0
- data/spec/dummy/package.json +5 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/integration/lib/graphql_api/postgres_public_subscriptions_spec.rb +16 -0
- data/spec/integration/lib/graphql_api/validators/subscriber_graphql_schema_validator_spec.rb +76 -0
- data/spec/integration_spec_helper.rb +35 -0
- data/spec/spec_helper.rb +60 -0
- data/spec/unit/lib/graphql_api/models/public_subscription_spec.rb +56 -0
- data/spec/unit_spec_helper.rb +6 -0
- metadata +342 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
14
|
+
|
15
|
+
# Configure public file server for tests with Cache-Control for performance.
|
16
|
+
config.public_file_server.enabled = true
|
17
|
+
config.public_file_server.headers = {
|
18
|
+
'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}"
|
19
|
+
}
|
20
|
+
|
21
|
+
# Show full error reports and disable caching.
|
22
|
+
config.consider_all_requests_local = true
|
23
|
+
config.action_controller.perform_caching = false
|
24
|
+
|
25
|
+
# Raise exceptions instead of rendering exception templates.
|
26
|
+
config.action_dispatch.show_exceptions = false
|
27
|
+
|
28
|
+
# Disable request forgery protection in test environment.
|
29
|
+
config.action_controller.allow_forgery_protection = false
|
30
|
+
config.action_mailer.perform_caching = false
|
31
|
+
|
32
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
33
|
+
# The :test delivery method accumulates sent emails in the
|
34
|
+
# ActionMailer::Base.deliveries array.
|
35
|
+
config.action_mailer.delivery_method = :test
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr.
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
|
40
|
+
# Raises error for missing translations
|
41
|
+
# config.action_view.raise_on_missing_translations = true
|
42
|
+
end
|
@@ -0,0 +1,14 @@
|
|
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
|
+
# Add Yarn node_modules folder to the asset load path.
|
9
|
+
Rails.application.config.assets.paths << Rails.root.join('node_modules')
|
10
|
+
|
11
|
+
# Precompile additional assets.
|
12
|
+
# application.js, application.css, and all non-JS/CSS in the app/assets
|
13
|
+
# folder are already added.
|
14
|
+
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
|
@@ -0,0 +1,7 @@
|
|
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| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -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,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 http://guides.rubyonrails.org/i18n.html.
|
31
|
+
|
32
|
+
en:
|
33
|
+
hello: "Hello world"
|
@@ -0,0 +1,56 @@
|
|
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
|
+
threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
8
|
+
threads threads_count, threads_count
|
9
|
+
|
10
|
+
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
11
|
+
#
|
12
|
+
port ENV.fetch("PORT") { 3000 }
|
13
|
+
|
14
|
+
# Specifies the `environment` that Puma will run in.
|
15
|
+
#
|
16
|
+
environment ENV.fetch("RAILS_ENV") { "development" }
|
17
|
+
|
18
|
+
# Specifies the number of `workers` to boot in clustered mode.
|
19
|
+
# Workers are forked webserver processes. If using threads and workers together
|
20
|
+
# the concurrency of the application would be max `threads` * `workers`.
|
21
|
+
# Workers do not work on JRuby or Windows (both of which do not support
|
22
|
+
# processes).
|
23
|
+
#
|
24
|
+
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
25
|
+
|
26
|
+
# Use the `preload_app!` method when specifying a `workers` number.
|
27
|
+
# This directive tells Puma to first boot the application and load code
|
28
|
+
# before forking the application. This takes advantage of Copy On Write
|
29
|
+
# process behavior so workers use less memory. If you use this option
|
30
|
+
# you need to make sure to reconnect any threads in the `on_worker_boot`
|
31
|
+
# block.
|
32
|
+
#
|
33
|
+
# preload_app!
|
34
|
+
|
35
|
+
# If you are preloading your application and using Active Record, it's
|
36
|
+
# recommended that you close any connections to the database before workers
|
37
|
+
# are forked to prevent connection leakage.
|
38
|
+
#
|
39
|
+
# before_fork do
|
40
|
+
# ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
|
41
|
+
# end
|
42
|
+
|
43
|
+
# The code in the `on_worker_boot` will be called if you are using
|
44
|
+
# clustered mode by specifying a number of `workers`. After each worker
|
45
|
+
# process is booted, this block will be run. If you are using the `preload_app!`
|
46
|
+
# option, you will want to use this block to reconnect to any threads
|
47
|
+
# or connections that may have been created at application boot, as Ruby
|
48
|
+
# cannot share connections between processes.
|
49
|
+
#
|
50
|
+
# on_worker_boot do
|
51
|
+
# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
|
52
|
+
# end
|
53
|
+
#
|
54
|
+
|
55
|
+
# Allow puma to be restarted by `rails restart` command.
|
56
|
+
plugin :tmp_restart
|
@@ -0,0 +1,6 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
get "/graphql/dummy/test_exception", to: "dummy#test_exception"
|
3
|
+
get "/graphql/dummy/test_record_not_found", to: "dummy#test_record_not_found"
|
4
|
+
get "/graphql/dummy/test_unauthorized", to: "dummy#test_unauthorized"
|
5
|
+
get "/graphql/dummy/test_timeout", to: "dummy#test_timeout"
|
6
|
+
end
|
@@ -0,0 +1,32 @@
|
|
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 `rails 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
|
+
# Shared secrets are available across all environments.
|
14
|
+
|
15
|
+
# shared:
|
16
|
+
# api_key: a1B2c3D4e5F6
|
17
|
+
|
18
|
+
# Environmental secrets are only available for that specific environment.
|
19
|
+
|
20
|
+
development:
|
21
|
+
secret_key_base: cc913391931527bcccfd50ebc056048127b3b393f7d9a19a85cf5da251b9ae3fcdbb291e83cf1822732b74fbfe67abdb294a5a6394c29b0b7a0153fd7555a969
|
22
|
+
|
23
|
+
test:
|
24
|
+
secret_key_base: 2fb6567735d1fd93318082df2b749d052002ca600e15bb26cbf343babcc4a8286a385201712dbf3836121ec9ae0260b15f2b1c368d9cdb781d3c8c31c8dccf0f
|
25
|
+
|
26
|
+
# Do not keep production secrets in the unencrypted secrets file.
|
27
|
+
# Instead, either read values from the environment.
|
28
|
+
# Or, use `bin/rails secrets:setup` to configure encrypted secrets
|
29
|
+
# and move the `production:` environment over there.
|
30
|
+
|
31
|
+
production:
|
32
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
@@ -0,0 +1,42 @@
|
|
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: 2020_06_11_150212) do
|
14
|
+
|
15
|
+
# These are extensions that must be enabled in order to support this database
|
16
|
+
enable_extension "citext"
|
17
|
+
enable_extension "hstore"
|
18
|
+
enable_extension "plpgsql"
|
19
|
+
enable_extension "uuid-ossp"
|
20
|
+
|
21
|
+
create_table "message_bus_subscription_events", id: :uuid, default: nil, force: :cascade do |t|
|
22
|
+
t.uuid "public_subscription_id", null: false
|
23
|
+
t.string "partition_key", null: false
|
24
|
+
t.string "topic_name", null: false
|
25
|
+
t.uuid "tenant_id", null: false
|
26
|
+
t.json "event_json", null: false
|
27
|
+
t.datetime "created_at"
|
28
|
+
t.index ["created_at"], name: "index_nulogy_mb_producer_subscription_events_on_created_at"
|
29
|
+
end
|
30
|
+
|
31
|
+
create_table "message_bus_subscriptions", id: :uuid, default: nil, force: :cascade do |t|
|
32
|
+
t.uuid "subscription_group_id", null: false
|
33
|
+
t.string "event_type", null: false
|
34
|
+
t.string "topic_name", null: false
|
35
|
+
t.string "query", null: false
|
36
|
+
t.text "schema_key", null: false
|
37
|
+
t.datetime "created_at", null: false
|
38
|
+
t.datetime "updated_at", null: false
|
39
|
+
t.index ["event_type"], name: "index_nulogy_mb_producer_subscriptions_on_event_type"
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
@@ -0,0 +1,1771 @@
|
|
1
|
+
[1m[35m (336.2ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
2
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
3
|
+
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
4
|
+
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
5
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
6
|
+
[1m[35mSQL (1.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
+
[1m[35m (12.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
8
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
9
|
+
[1m[35m (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
10
|
+
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
11
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
12
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
13
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-06 00:58:43.896232"], ["updated_at", "2020-06-06 00:58:43.896232"]]
|
14
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
15
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
16
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
17
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
18
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19
|
+
[1m[35mSQL (41.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
20
|
+
[1m[35mSQL (22.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
21
|
+
[1m[35mSQL (16.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
22
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
23
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
24
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
25
|
+
[1m[35m (9.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
26
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
27
|
+
[1m[35m (1.8ms)[0m [1m[35mBEGIN[0m
|
28
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-06 00:58:44.070622"], ["updated_at", "2020-06-06 00:58:44.070622"]]
|
29
|
+
[1m[35m (2.2ms)[0m [1m[35mCOMMIT[0m
|
30
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
31
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
32
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.7ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-06 00:58:44.080926"], ["key", "environment"]]
|
33
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
34
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
35
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
36
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37
|
+
[1m[35m (115.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
38
|
+
[1m[35m (325.3ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
39
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
40
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
41
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
42
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
43
|
+
[1m[35m (9.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
44
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
45
|
+
[1m[35m (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
46
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
47
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
48
|
+
[1m[35m (2.0ms)[0m [1m[35mBEGIN[0m
|
49
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-06 00:58:54.502133"], ["updated_at", "2020-06-06 00:58:54.502133"]]
|
50
|
+
[1m[35m (2.2ms)[0m [1m[35mCOMMIT[0m
|
51
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
52
|
+
[1m[35m (2.0ms)[0m [1m[35mBEGIN[0m
|
53
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.9ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-06 00:58:54.514732"], ["key", "environment"]]
|
54
|
+
[1m[35m (2.5ms)[0m [1m[35mCOMMIT[0m
|
55
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
56
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
57
|
+
[1m[35m (216.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
58
|
+
[1m[35m (400.7ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
59
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
60
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
61
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
62
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
63
|
+
[1m[35m (13.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
64
|
+
[1m[35m (2.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
65
|
+
[1m[35m (2.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
66
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
67
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
68
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
69
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:18:46.460431"], ["updated_at", "2020-06-07 23:18:46.460431"]]
|
70
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
71
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
72
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
73
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:18:46.470603"], ["key", "environment"]]
|
74
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
75
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
76
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
77
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
78
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
79
|
+
[1m[35m (2.0ms)[0m [1m[31mROLLBACK[0m
|
80
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
81
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
82
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
83
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
84
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
85
|
+
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
86
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
87
|
+
[1m[35m (2.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
88
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
89
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
90
|
+
[1m[35m (114.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
91
|
+
[1m[35m (335.4ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
92
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
93
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
94
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
95
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
96
|
+
[1m[35m (10.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
97
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
98
|
+
[1m[35m (2.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
99
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
100
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
101
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
102
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:29:12.480181"], ["updated_at", "2020-06-07 23:29:12.480181"]]
|
103
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
104
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
105
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
106
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.6ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:29:12.490735"], ["key", "environment"]]
|
107
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
108
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
109
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
110
|
+
[1m[35m (116.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
111
|
+
[1m[35m (328.6ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
112
|
+
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
113
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
114
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
115
|
+
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
116
|
+
[1m[35m (10.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
117
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
118
|
+
[1m[35m (2.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
119
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
120
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
121
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
122
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:31:12.947047"], ["updated_at", "2020-06-07 23:31:12.947047"]]
|
123
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
124
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
125
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
126
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:31:12.957774"], ["key", "environment"]]
|
127
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
128
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
129
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
130
|
+
[1m[35m (172.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
131
|
+
[1m[35m (119.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
132
|
+
[1m[35m (336.8ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
133
|
+
[1m[35m (335.8ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
134
|
+
[1m[35m (10.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
135
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
136
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
137
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
138
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
139
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
140
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:31:42.032098"], ["updated_at", "2020-06-07 23:31:42.032098"]]
|
141
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
142
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
143
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
144
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
145
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
146
|
+
[1m[35m (112.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
147
|
+
[1m[35m (336.3ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
148
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
149
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
150
|
+
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
151
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
152
|
+
[1m[35m (12.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
153
|
+
[1m[35m (3.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
154
|
+
[1m[35m (2.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
155
|
+
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
156
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
157
|
+
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
158
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:32:20.589047"], ["updated_at", "2020-06-07 23:32:20.589047"]]
|
159
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
160
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
161
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
162
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.4ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:32:20.600065"], ["key", "environment"]]
|
163
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
164
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
165
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
166
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
167
|
+
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
168
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
169
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
170
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
171
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
172
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
173
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
174
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
175
|
+
[1m[36mActiveRecord::SchemaMigration Create (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200303193414"]]
|
176
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
177
|
+
Migrating to UpdateSubscriptionsToUseId (20200604203932)
|
178
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
179
|
+
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
|
180
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
181
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
182
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
183
|
+
Migrating to UpdateSubscriptionsToUseId (20200604203932)
|
184
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
185
|
+
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
|
186
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
187
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
188
|
+
[1m[35m (2.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
189
|
+
Migrating to UpdateSubscriptionsToUseId (20200604203932)
|
190
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
191
|
+
[1m[36mActiveRecord::SchemaMigration Create (2.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200604203932"]]
|
192
|
+
[1m[35m (3.3ms)[0m [1m[35mCOMMIT[0m
|
193
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
194
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
195
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
196
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
197
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
198
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
199
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
200
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
201
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
202
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
203
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
204
|
+
[1m[35m (116.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
205
|
+
[1m[35m (328.4ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
206
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
207
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
208
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
209
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
210
|
+
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
211
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
212
|
+
[1m[35m (2.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
213
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
214
|
+
(20200303193414);
|
215
|
+
|
216
|
+
[0m
|
217
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
218
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
219
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
220
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:43:30.529881"], ["updated_at", "2020-06-07 23:43:30.529881"]]
|
221
|
+
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
222
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
223
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
224
|
+
[1m[36mActiveRecord::InternalMetadata Update (2.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:43:30.542918"], ["key", "environment"]]
|
225
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
226
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
227
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
228
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
229
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
230
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
231
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
232
|
+
[1m[35m (117.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
233
|
+
[1m[35m (116.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
234
|
+
[1m[35m (325.6ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
235
|
+
[1m[35m (331.5ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
236
|
+
[1m[35m (9.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
237
|
+
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
238
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
239
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
240
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
241
|
+
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
242
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200303193414"]]
|
243
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
244
|
+
Migrating to UpdateSubscriptionsToUseId (20200604203932)
|
245
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
246
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200604203932"]]
|
247
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
248
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
249
|
+
[1m[35m (2.6ms)[0m [1m[35mBEGIN[0m
|
250
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:45:01.815889"], ["updated_at", "2020-06-07 23:45:01.815889"]]
|
251
|
+
[1m[35m (2.6ms)[0m [1m[35mCOMMIT[0m
|
252
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
253
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
254
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
255
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
256
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
257
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
258
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
259
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
260
|
+
[1m[35m (114.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
261
|
+
[1m[35m (328.5ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
262
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
263
|
+
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
264
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
265
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
266
|
+
[1m[35m (10.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
267
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
268
|
+
[1m[35m (2.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
269
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
270
|
+
(20200303193414);
|
271
|
+
|
272
|
+
[0m
|
273
|
+
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
274
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
275
|
+
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
276
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:45:09.895516"], ["updated_at", "2020-06-07 23:45:09.895516"]]
|
277
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
278
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
279
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
280
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:45:09.906223"], ["key", "environment"]]
|
281
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
282
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
283
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
284
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
285
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
286
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
287
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
288
|
+
[1m[35m (130.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
289
|
+
[1m[35m (113.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
290
|
+
[1m[35m (331.1ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
291
|
+
[1m[35m (327.6ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
292
|
+
[1m[35m (10.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
293
|
+
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
294
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
295
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
296
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
297
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
298
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200303193414"]]
|
299
|
+
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
300
|
+
Migrating to UpdateSubscriptionsToUseId (20200604203932)
|
301
|
+
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
302
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200604203932"]]
|
303
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
304
|
+
[1m[36mActiveRecord::InternalMetadata Load (4.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
305
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
306
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:49:09.877773"], ["updated_at", "2020-06-07 23:49:09.877773"]]
|
307
|
+
[1m[35m (3.1ms)[0m [1m[35mCOMMIT[0m
|
308
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
309
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
310
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
311
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
312
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
313
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
314
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
315
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
316
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
317
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
318
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
319
|
+
[1m[35mSQL (2.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
320
|
+
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
321
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
322
|
+
[1m[35m (2.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
323
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
324
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
325
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
326
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
327
|
+
[1m[35m (2.1ms)[0m [1m[35mBEGIN[0m
|
328
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
329
|
+
[1m[35mSQL (2.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
330
|
+
[1m[35mSQL (2.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
331
|
+
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
332
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
333
|
+
[1m[35m (14.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
334
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
335
|
+
[1m[35m (4.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
336
|
+
[1m[35m (2.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
337
|
+
(20200303193414);
|
338
|
+
|
339
|
+
[0m
|
340
|
+
[1m[35m (10.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
341
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
342
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
343
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:53:01.327107"], ["updated_at", "2020-06-07 23:53:01.327107"]]
|
344
|
+
[1m[35m (3.2ms)[0m [1m[35mCOMMIT[0m
|
345
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
346
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
347
|
+
[1m[36mActiveRecord::InternalMetadata Update (2.0ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:53:01.340009"], ["key", "environment"]]
|
348
|
+
[1m[35m (2.5ms)[0m [1m[35mCOMMIT[0m
|
349
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
350
|
+
[1m[35m (2.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
351
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
352
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
353
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
354
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
355
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
356
|
+
[1m[35m (119.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
357
|
+
[1m[35m (115.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
358
|
+
[1m[35m (339.5ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
359
|
+
[1m[35m (330.5ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
360
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
361
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
362
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
363
|
+
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
364
|
+
[1m[35m (14.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
365
|
+
[1m[35m (3.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
366
|
+
[1m[35m (3.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
367
|
+
[1m[35m (1.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
368
|
+
(20200303193414);
|
369
|
+
|
370
|
+
[0m
|
371
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
372
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
373
|
+
[1m[35m (1.8ms)[0m [1m[35mBEGIN[0m
|
374
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:53:18.403937"], ["updated_at", "2020-06-07 23:53:18.403937"]]
|
375
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
376
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
377
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
378
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
379
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
380
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
381
|
+
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
382
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
383
|
+
[1m[35m (14.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
384
|
+
[1m[35m (2.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
385
|
+
[1m[35m (5.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
386
|
+
[1m[35m (2.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
387
|
+
(20200303193414);
|
388
|
+
|
389
|
+
[0m
|
390
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
391
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
392
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
393
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:53:18.524408"], ["updated_at", "2020-06-07 23:53:18.524408"]]
|
394
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
395
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
396
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
397
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:53:18.534070"], ["key", "environment"]]
|
398
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
399
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
400
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
401
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
402
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
403
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
404
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
405
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
406
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
407
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
408
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
409
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
410
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
411
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
412
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
413
|
+
[1m[35m (119.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
414
|
+
[1m[35m (332.5ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
415
|
+
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
416
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
417
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
418
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
419
|
+
[1m[35m (10.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
420
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
421
|
+
[1m[35m (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
422
|
+
[1m[35m (2.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
423
|
+
(20200303193414);
|
424
|
+
|
425
|
+
[0m
|
426
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
427
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
428
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
429
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:53:40.331531"], ["updated_at", "2020-06-07 23:53:40.331531"]]
|
430
|
+
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
431
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
432
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
433
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.8ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:53:40.343164"], ["key", "environment"]]
|
434
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
435
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
436
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
437
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
438
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
439
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
440
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
441
|
+
[1m[35m (115.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
442
|
+
[1m[35m (329.0ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
443
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
444
|
+
[1m[35mSQL (1.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
445
|
+
[1m[35mSQL (1.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
446
|
+
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
447
|
+
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
448
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
449
|
+
[1m[35m (2.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
450
|
+
[1m[35m (2.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
451
|
+
(20200303193414);
|
452
|
+
|
453
|
+
[0m
|
454
|
+
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
455
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
456
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
457
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-07 23:54:40.584786"], ["updated_at", "2020-06-07 23:54:40.584786"]]
|
458
|
+
[1m[35m (2.5ms)[0m [1m[35mCOMMIT[0m
|
459
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
460
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
461
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.6ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-07 23:54:40.596323"], ["key", "environment"]]
|
462
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
463
|
+
[1m[35m (2.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
464
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
465
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
466
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
467
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
468
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
469
|
+
[1m[35m (187.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
470
|
+
[1m[35m (166.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
471
|
+
[1m[35m (1.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
472
|
+
[1m[35m (1.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
473
|
+
[1m[35m (385.9ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
474
|
+
[1m[35m (345.4ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
475
|
+
[1m[35mSQL (2.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
476
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
477
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
478
|
+
[1m[35mSQL (2.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
479
|
+
[1m[35m (16.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
480
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
481
|
+
[1m[35m (2.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
482
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
483
|
+
(20200303193414);
|
484
|
+
|
485
|
+
[0m
|
486
|
+
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
487
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
488
|
+
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
489
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-08 13:00:15.484739"], ["updated_at", "2020-06-08 13:00:15.484739"]]
|
490
|
+
[1m[35m (2.3ms)[0m [1m[35mCOMMIT[0m
|
491
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
492
|
+
[1m[35m (2.6ms)[0m [1m[35mBEGIN[0m
|
493
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
494
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
495
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
496
|
+
[1m[35mSQL (2.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
497
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
498
|
+
[1m[35m (14.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
499
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
500
|
+
[1m[35m (2.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
501
|
+
[1m[35m (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
502
|
+
(20200303193414);
|
503
|
+
|
504
|
+
[0m
|
505
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
506
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
507
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
508
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-08 13:00:15.646758"], ["updated_at", "2020-06-08 13:00:15.646758"]]
|
509
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
510
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
511
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
512
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.7ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-08 13:00:15.656464"], ["key", "environment"]]
|
513
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
514
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
515
|
+
[1m[35m (2.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
516
|
+
[1m[35m (3.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
517
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
518
|
+
[1m[35m (2.6ms)[0m [1m[35mBEGIN[0m
|
519
|
+
[1m[35m (2.3ms)[0m [1m[35mCOMMIT[0m
|
520
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
521
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
522
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
523
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
524
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
525
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
526
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
527
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
528
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
529
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
530
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
531
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
532
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
533
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
534
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
535
|
+
[1m[35m (116.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
536
|
+
[1m[35m (118.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
537
|
+
[1m[35m (1.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
538
|
+
[1m[35m (1.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
539
|
+
[1m[35m (1.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
540
|
+
[1m[35m (1.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
541
|
+
[1m[35m (340.3ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
542
|
+
[1m[35m (336.9ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
543
|
+
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
544
|
+
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
545
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
546
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
547
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
548
|
+
[1m[35m (2.2ms)[0m [1m[35mBEGIN[0m
|
549
|
+
[1m[35m (2.3ms)[0m [1m[31mROLLBACK[0m
|
550
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
551
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
552
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
553
|
+
[1m[35m (120.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
554
|
+
[1m[35m (114.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
555
|
+
[1m[35m (337.1ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
556
|
+
[1m[35m (335.0ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
557
|
+
[1m[35m (10.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
558
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
559
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
560
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
561
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
562
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
563
|
+
[1m[35m (2.2ms)[0m [1m[31mROLLBACK[0m
|
564
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
565
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
566
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
567
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
568
|
+
[1m[35m (1.9ms)[0m [1m[35mBEGIN[0m
|
569
|
+
[1m[36mActiveRecord::SchemaMigration Create (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200303193414"]]
|
570
|
+
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
571
|
+
Migrating to UpdateSubscriptionsToUseId (20200604203932)
|
572
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
573
|
+
[1m[36mActiveRecord::SchemaMigration Create (2.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200604203932"]]
|
574
|
+
[1m[35m (2.7ms)[0m [1m[35mCOMMIT[0m
|
575
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
576
|
+
[1m[35m (2.1ms)[0m [1m[35mBEGIN[0m
|
577
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-08 13:10:28.699876"], ["updated_at", "2020-06-08 13:10:28.699876"]]
|
578
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
579
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
580
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
581
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
582
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
583
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
584
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
585
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
586
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
587
|
+
[1m[35m (112.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
588
|
+
[1m[35m (114.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
589
|
+
[1m[35m (341.6ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
590
|
+
[1m[35m (340.4ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
591
|
+
[1m[35m (10.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
592
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
593
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
594
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
595
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
596
|
+
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
597
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
598
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
599
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
600
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
601
|
+
[1m[35m (1.2ms)[0m [1m[35mSHOW statement_timeout[0m
|
602
|
+
[1m[35m (1.3ms)[0m [1m[35mSET statement_timeout TO '0ms'[0m
|
603
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT nspname FROM pg_namespace WHERE nspname !~ '^pg_.*' AND nspname NOT IN ('information_schema', 'extensions', 'londiste', 'pgq', 'pgq_ext', 'pgq_node') ORDER by nspname[0m
|
604
|
+
[1m[35m (14.0ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
605
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
606
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT current_schema[0m
|
607
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT a.attname AS column_name
|
608
|
+
FROM pg_catalog.pg_attribute a
|
609
|
+
WHERE a.attrelid = (
|
610
|
+
SELECT c.oid
|
611
|
+
FROM pg_catalog.pg_class c
|
612
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
613
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscriptions)$'
|
614
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
615
|
+
)
|
616
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
617
|
+
ORDER BY a.attnum;
|
618
|
+
[0m
|
619
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'id') AS result
|
620
|
+
[0m
|
621
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'subscription_group_id') AS result
|
622
|
+
[0m
|
623
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'event_type') AS result
|
624
|
+
[0m
|
625
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'topic_name') AS result
|
626
|
+
[0m
|
627
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'query') AS result
|
628
|
+
[0m
|
629
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'created_at') AS result
|
630
|
+
[0m
|
631
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'updated_at') AS result
|
632
|
+
[0m
|
633
|
+
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
634
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
635
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT current_schema[0m
|
636
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT a.attname AS column_name
|
637
|
+
FROM pg_catalog.pg_attribute a
|
638
|
+
WHERE a.attrelid = (
|
639
|
+
SELECT c.oid
|
640
|
+
FROM pg_catalog.pg_class c
|
641
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
642
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscription_events)$'
|
643
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
644
|
+
)
|
645
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
646
|
+
ORDER BY a.attnum;
|
647
|
+
[0m
|
648
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'id') AS result
|
649
|
+
[0m
|
650
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'public_subscription_id') AS result
|
651
|
+
[0m
|
652
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'partition_key') AS result
|
653
|
+
[0m
|
654
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'topic_name') AS result
|
655
|
+
[0m
|
656
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'tenant_id') AS result
|
657
|
+
[0m
|
658
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'event_json') AS result
|
659
|
+
[0m
|
660
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'created_at') AS result
|
661
|
+
[0m
|
662
|
+
[1m[35m (1.3ms)[0m [1m[35mSET statement_timeout TO '0'[0m
|
663
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200303193414"]]
|
664
|
+
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
665
|
+
Migrating to UpdateSubscriptionsToUseId (20200604203932)
|
666
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
667
|
+
[1m[35m (1.5ms)[0m [1m[35mSHOW statement_timeout[0m
|
668
|
+
[1m[35m (1.3ms)[0m [1m[35mSET statement_timeout TO '0ms'[0m
|
669
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT nspname FROM pg_namespace WHERE nspname !~ '^pg_.*' AND nspname NOT IN ('information_schema', 'extensions', 'londiste', 'pgq', 'pgq_ext', 'pgq_node') ORDER by nspname[0m
|
670
|
+
[1m[35m (1.9ms)[0m [1m[33m UPDATE public_subscriptions
|
671
|
+
SET query = REGEXP_REPLACE(query, '(W)uuid(W)', 'id', 'g')
|
672
|
+
[0m
|
673
|
+
[1m[35m (1.3ms)[0m [1m[35mSET statement_timeout TO '0'[0m
|
674
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200604203932"]]
|
675
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
676
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
677
|
+
[1m[35m (1.8ms)[0m [1m[35mBEGIN[0m
|
678
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-08 13:20:52.569239"], ["updated_at", "2020-06-08 13:20:52.569239"]]
|
679
|
+
[1m[35m (3.0ms)[0m [1m[35mCOMMIT[0m
|
680
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
681
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
682
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
683
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
684
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
685
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
686
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
687
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
688
|
+
[1m[35m (115.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
689
|
+
[1m[35m (349.8ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
690
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
691
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
692
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
693
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
694
|
+
[1m[35m (1.3ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
695
|
+
[1m[35m (10.1ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
696
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
697
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT current_schema[0m
|
698
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT a.attname AS column_name
|
699
|
+
FROM pg_catalog.pg_attribute a
|
700
|
+
WHERE a.attrelid = (
|
701
|
+
SELECT c.oid
|
702
|
+
FROM pg_catalog.pg_class c
|
703
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
704
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscription_events)$'
|
705
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
706
|
+
)
|
707
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
708
|
+
ORDER BY a.attnum;
|
709
|
+
[0m
|
710
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'id') AS result
|
711
|
+
[0m
|
712
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'public_subscription_id') AS result
|
713
|
+
[0m
|
714
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'partition_key') AS result
|
715
|
+
[0m
|
716
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'topic_name') AS result
|
717
|
+
[0m
|
718
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'tenant_id') AS result
|
719
|
+
[0m
|
720
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'event_json') AS result
|
721
|
+
[0m
|
722
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'created_at') AS result
|
723
|
+
[0m
|
724
|
+
[1m[35m (1.2ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
725
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
726
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
727
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT current_schema[0m
|
728
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT a.attname AS column_name
|
729
|
+
FROM pg_catalog.pg_attribute a
|
730
|
+
WHERE a.attrelid = (
|
731
|
+
SELECT c.oid
|
732
|
+
FROM pg_catalog.pg_class c
|
733
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
734
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscriptions)$'
|
735
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
736
|
+
)
|
737
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
738
|
+
ORDER BY a.attnum;
|
739
|
+
[0m
|
740
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'id') AS result
|
741
|
+
[0m
|
742
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'subscription_group_id') AS result
|
743
|
+
[0m
|
744
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'event_type') AS result
|
745
|
+
[0m
|
746
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'topic_name') AS result
|
747
|
+
[0m
|
748
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'query') AS result
|
749
|
+
[0m
|
750
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'created_at') AS result
|
751
|
+
[0m
|
752
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'updated_at') AS result
|
753
|
+
[0m
|
754
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
755
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT current_schema[0m
|
756
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT a.attname AS column_name
|
757
|
+
FROM pg_catalog.pg_attribute a
|
758
|
+
WHERE a.attrelid = (
|
759
|
+
SELECT c.oid
|
760
|
+
FROM pg_catalog.pg_class c
|
761
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
762
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(schema_migrations)$'
|
763
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
764
|
+
)
|
765
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
766
|
+
ORDER BY a.attnum;
|
767
|
+
[0m
|
768
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.schema_migrations', 'version') AS result
|
769
|
+
[0m
|
770
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
771
|
+
[1m[35m (1.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
772
|
+
[1m[35m (1.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
773
|
+
(20200303193414);
|
774
|
+
|
775
|
+
[0m
|
776
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
777
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT current_schema[0m
|
778
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT a.attname AS column_name
|
779
|
+
FROM pg_catalog.pg_attribute a
|
780
|
+
WHERE a.attrelid = (
|
781
|
+
SELECT c.oid
|
782
|
+
FROM pg_catalog.pg_class c
|
783
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
784
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(ar_internal_metadata)$'
|
785
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
786
|
+
)
|
787
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
788
|
+
ORDER BY a.attnum;
|
789
|
+
[0m
|
790
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'key') AS result
|
791
|
+
[0m
|
792
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'value') AS result
|
793
|
+
[0m
|
794
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'created_at') AS result
|
795
|
+
[0m
|
796
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'updated_at') AS result
|
797
|
+
[0m
|
798
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
799
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
800
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-08 13:22:42.487970"], ["updated_at", "2020-06-08 13:22:42.487970"]]
|
801
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
802
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
803
|
+
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
|
804
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.4ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-08 13:22:42.497315"], ["key", "environment"]]
|
805
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
806
|
+
[1m[35mSQL (4.7ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
807
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (3.6ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
808
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
809
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
810
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
811
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
812
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
813
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
814
|
+
[1m[35m (164.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_development"[0m
|
815
|
+
[1m[35m (163.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
816
|
+
[1m[35m (375.6ms)[0m [1m[35mCREATE DATABASE "graphql_api_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
817
|
+
[1m[35m (330.6ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
818
|
+
[1m[35mSQL (3.0ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
819
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
820
|
+
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
821
|
+
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
822
|
+
[1m[35mSQL (2.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
823
|
+
[1m[35m (1.6ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
824
|
+
[1m[35m (16.5ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
825
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
826
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT current_schema[0m
|
827
|
+
[1m[35m (2.6ms)[0m [1m[34mSELECT a.attname AS column_name
|
828
|
+
FROM pg_catalog.pg_attribute a
|
829
|
+
WHERE a.attrelid = (
|
830
|
+
SELECT c.oid
|
831
|
+
FROM pg_catalog.pg_class c
|
832
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
833
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscription_events)$'
|
834
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
835
|
+
)
|
836
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
837
|
+
ORDER BY a.attnum;
|
838
|
+
[0m
|
839
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'id') AS result
|
840
|
+
[0m
|
841
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'public_subscription_id') AS result
|
842
|
+
[0m
|
843
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'partition_key') AS result
|
844
|
+
[0m
|
845
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'topic_name') AS result
|
846
|
+
[0m
|
847
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'tenant_id') AS result
|
848
|
+
[0m
|
849
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'event_json') AS result
|
850
|
+
[0m
|
851
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'created_at') AS result
|
852
|
+
[0m
|
853
|
+
[1m[35m (1.8ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
854
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
855
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
856
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT current_schema[0m
|
857
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT a.attname AS column_name
|
858
|
+
FROM pg_catalog.pg_attribute a
|
859
|
+
WHERE a.attrelid = (
|
860
|
+
SELECT c.oid
|
861
|
+
FROM pg_catalog.pg_class c
|
862
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
863
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscriptions)$'
|
864
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
865
|
+
)
|
866
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
867
|
+
ORDER BY a.attnum;
|
868
|
+
[0m
|
869
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'id') AS result
|
870
|
+
[0m
|
871
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'subscription_group_id') AS result
|
872
|
+
[0m
|
873
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'event_type') AS result
|
874
|
+
[0m
|
875
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'topic_name') AS result
|
876
|
+
[0m
|
877
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'query') AS result
|
878
|
+
[0m
|
879
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'created_at') AS result
|
880
|
+
[0m
|
881
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'updated_at') AS result
|
882
|
+
[0m
|
883
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
884
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT current_schema[0m
|
885
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT a.attname AS column_name
|
886
|
+
FROM pg_catalog.pg_attribute a
|
887
|
+
WHERE a.attrelid = (
|
888
|
+
SELECT c.oid
|
889
|
+
FROM pg_catalog.pg_class c
|
890
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
891
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(schema_migrations)$'
|
892
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
893
|
+
)
|
894
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
895
|
+
ORDER BY a.attnum;
|
896
|
+
[0m
|
897
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.schema_migrations', 'version') AS result
|
898
|
+
[0m
|
899
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
900
|
+
[1m[35m (2.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
901
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
902
|
+
(20200303193414);
|
903
|
+
|
904
|
+
[0m
|
905
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
906
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT current_schema[0m
|
907
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT a.attname AS column_name
|
908
|
+
FROM pg_catalog.pg_attribute a
|
909
|
+
WHERE a.attrelid = (
|
910
|
+
SELECT c.oid
|
911
|
+
FROM pg_catalog.pg_class c
|
912
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
913
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(ar_internal_metadata)$'
|
914
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
915
|
+
)
|
916
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
917
|
+
ORDER BY a.attnum;
|
918
|
+
[0m
|
919
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'key') AS result
|
920
|
+
[0m
|
921
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'value') AS result
|
922
|
+
[0m
|
923
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'created_at') AS result
|
924
|
+
[0m
|
925
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'updated_at') AS result
|
926
|
+
[0m
|
927
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
928
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
929
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-09 20:39:56.100478"], ["updated_at", "2020-06-09 20:39:56.100478"]]
|
930
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
931
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
932
|
+
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
933
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
934
|
+
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
935
|
+
[1m[35mSQL (2.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
936
|
+
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
937
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
938
|
+
[1m[35m (1.7ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
939
|
+
[1m[35m (15.5ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
940
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
941
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT current_schema[0m
|
942
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT a.attname AS column_name
|
943
|
+
FROM pg_catalog.pg_attribute a
|
944
|
+
WHERE a.attrelid = (
|
945
|
+
SELECT c.oid
|
946
|
+
FROM pg_catalog.pg_class c
|
947
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
948
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscription_events)$'
|
949
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
950
|
+
)
|
951
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
952
|
+
ORDER BY a.attnum;
|
953
|
+
[0m
|
954
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'id') AS result
|
955
|
+
[0m
|
956
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'public_subscription_id') AS result
|
957
|
+
[0m
|
958
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'partition_key') AS result
|
959
|
+
[0m
|
960
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'topic_name') AS result
|
961
|
+
[0m
|
962
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'tenant_id') AS result
|
963
|
+
[0m
|
964
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'event_json') AS result
|
965
|
+
[0m
|
966
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'created_at') AS result
|
967
|
+
[0m
|
968
|
+
[1m[35m (1.3ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
969
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
970
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
971
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT current_schema[0m
|
972
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT a.attname AS column_name
|
973
|
+
FROM pg_catalog.pg_attribute a
|
974
|
+
WHERE a.attrelid = (
|
975
|
+
SELECT c.oid
|
976
|
+
FROM pg_catalog.pg_class c
|
977
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
978
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscriptions)$'
|
979
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
980
|
+
)
|
981
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
982
|
+
ORDER BY a.attnum;
|
983
|
+
[0m
|
984
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'id') AS result
|
985
|
+
[0m
|
986
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'subscription_group_id') AS result
|
987
|
+
[0m
|
988
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'event_type') AS result
|
989
|
+
[0m
|
990
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'topic_name') AS result
|
991
|
+
[0m
|
992
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'query') AS result
|
993
|
+
[0m
|
994
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'created_at') AS result
|
995
|
+
[0m
|
996
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'updated_at') AS result
|
997
|
+
[0m
|
998
|
+
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
999
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT current_schema[0m
|
1000
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT a.attname AS column_name
|
1001
|
+
FROM pg_catalog.pg_attribute a
|
1002
|
+
WHERE a.attrelid = (
|
1003
|
+
SELECT c.oid
|
1004
|
+
FROM pg_catalog.pg_class c
|
1005
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1006
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(schema_migrations)$'
|
1007
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1008
|
+
)
|
1009
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1010
|
+
ORDER BY a.attnum;
|
1011
|
+
[0m
|
1012
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.schema_migrations', 'version') AS result
|
1013
|
+
[0m
|
1014
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1015
|
+
[1m[35m (2.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
1016
|
+
[1m[35m (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1017
|
+
(20200303193414);
|
1018
|
+
|
1019
|
+
[0m
|
1020
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1021
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT current_schema[0m
|
1022
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT a.attname AS column_name
|
1023
|
+
FROM pg_catalog.pg_attribute a
|
1024
|
+
WHERE a.attrelid = (
|
1025
|
+
SELECT c.oid
|
1026
|
+
FROM pg_catalog.pg_class c
|
1027
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1028
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(ar_internal_metadata)$'
|
1029
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1030
|
+
)
|
1031
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1032
|
+
ORDER BY a.attnum;
|
1033
|
+
[0m
|
1034
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'key') AS result
|
1035
|
+
[0m
|
1036
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'value') AS result
|
1037
|
+
[0m
|
1038
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'created_at') AS result
|
1039
|
+
[0m
|
1040
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'updated_at') AS result
|
1041
|
+
[0m
|
1042
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1043
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1044
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-09 20:39:56.304857"], ["updated_at", "2020-06-09 20:39:56.304857"]]
|
1045
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
1046
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1047
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1048
|
+
[1m[36mActiveRecord::InternalMetadata Update (2.0ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-09 20:39:56.315466"], ["key", "environment"]]
|
1049
|
+
[1m[35m (2.7ms)[0m [1m[35mCOMMIT[0m
|
1050
|
+
[1m[35mSQL (2.2ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1051
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (3.1ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1052
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1053
|
+
[1m[35mSQL (2.3ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1054
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (2.1ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1055
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1056
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1057
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1058
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1059
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1060
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1061
|
+
[1m[35m (120.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
1062
|
+
[1m[35m (320.0ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1063
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
1064
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
1065
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1066
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1067
|
+
[1m[35m (1.4ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
1068
|
+
[1m[35m (14.7ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1069
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
1070
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT current_schema[0m
|
1071
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT a.attname AS column_name
|
1072
|
+
FROM pg_catalog.pg_attribute a
|
1073
|
+
WHERE a.attrelid = (
|
1074
|
+
SELECT c.oid
|
1075
|
+
FROM pg_catalog.pg_class c
|
1076
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1077
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscription_events)$'
|
1078
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1079
|
+
)
|
1080
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1081
|
+
ORDER BY a.attnum;
|
1082
|
+
[0m
|
1083
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'id') AS result
|
1084
|
+
[0m
|
1085
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'public_subscription_id') AS result
|
1086
|
+
[0m
|
1087
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'partition_key') AS result
|
1088
|
+
[0m
|
1089
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'topic_name') AS result
|
1090
|
+
[0m
|
1091
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'tenant_id') AS result
|
1092
|
+
[0m
|
1093
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'event_json') AS result
|
1094
|
+
[0m
|
1095
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'created_at') AS result
|
1096
|
+
[0m
|
1097
|
+
[1m[35m (1.4ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
1098
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1099
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
1100
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT current_schema[0m
|
1101
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT a.attname AS column_name
|
1102
|
+
FROM pg_catalog.pg_attribute a
|
1103
|
+
WHERE a.attrelid = (
|
1104
|
+
SELECT c.oid
|
1105
|
+
FROM pg_catalog.pg_class c
|
1106
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1107
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscriptions)$'
|
1108
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1109
|
+
)
|
1110
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1111
|
+
ORDER BY a.attnum;
|
1112
|
+
[0m
|
1113
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'id') AS result
|
1114
|
+
[0m
|
1115
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'subscription_group_id') AS result
|
1116
|
+
[0m
|
1117
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'event_type') AS result
|
1118
|
+
[0m
|
1119
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'topic_name') AS result
|
1120
|
+
[0m
|
1121
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'query') AS result
|
1122
|
+
[0m
|
1123
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'created_at') AS result
|
1124
|
+
[0m
|
1125
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'updated_at') AS result
|
1126
|
+
[0m
|
1127
|
+
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1128
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT current_schema[0m
|
1129
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT a.attname AS column_name
|
1130
|
+
FROM pg_catalog.pg_attribute a
|
1131
|
+
WHERE a.attrelid = (
|
1132
|
+
SELECT c.oid
|
1133
|
+
FROM pg_catalog.pg_class c
|
1134
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1135
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(schema_migrations)$'
|
1136
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1137
|
+
)
|
1138
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1139
|
+
ORDER BY a.attnum;
|
1140
|
+
[0m
|
1141
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.schema_migrations', 'version') AS result
|
1142
|
+
[0m
|
1143
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1144
|
+
[1m[35m (2.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200604203932)[0m
|
1145
|
+
[1m[35m (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1146
|
+
(20200303193414);
|
1147
|
+
|
1148
|
+
[0m
|
1149
|
+
[1m[35m (16.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1150
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT current_schema[0m
|
1151
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT a.attname AS column_name
|
1152
|
+
FROM pg_catalog.pg_attribute a
|
1153
|
+
WHERE a.attrelid = (
|
1154
|
+
SELECT c.oid
|
1155
|
+
FROM pg_catalog.pg_class c
|
1156
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1157
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(ar_internal_metadata)$'
|
1158
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1159
|
+
)
|
1160
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1161
|
+
ORDER BY a.attnum;
|
1162
|
+
[0m
|
1163
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'key') AS result
|
1164
|
+
[0m
|
1165
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'value') AS result
|
1166
|
+
[0m
|
1167
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'created_at') AS result
|
1168
|
+
[0m
|
1169
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'updated_at') AS result
|
1170
|
+
[0m
|
1171
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1172
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1173
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-09 20:40:21.947649"], ["updated_at", "2020-06-09 20:40:21.947649"]]
|
1174
|
+
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
1175
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1176
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1177
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.6ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-09 20:40:21.959696"], ["key", "environment"]]
|
1178
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
1179
|
+
[1m[35mSQL (3.7ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1180
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (3.2ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1181
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
1182
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1183
|
+
Migrating to AddSchemaKeyToPublicSubscriptions (20200611150212)
|
1184
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
1185
|
+
[1m[35m (1.7ms)[0m [1m[35mSHOW statement_timeout[0m
|
1186
|
+
[1m[35m (1.7ms)[0m [1m[35mSET statement_timeout TO '0ms'[0m
|
1187
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT nspname FROM pg_namespace WHERE nspname !~ '^pg_.*' AND nspname NOT IN ('information_schema', 'extensions', 'londiste', 'pgq', 'pgq_ext', 'pgq_node') ORDER by nspname[0m
|
1188
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "public_subscriptions" ADD "schema_key" character varying NOT NULL[0m
|
1189
|
+
[1m[35m (1.5ms)[0m [1m[35mSET statement_timeout TO '0'[0m
|
1190
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200611150212"]]
|
1191
|
+
[1m[35m (3.7ms)[0m [1m[35mCOMMIT[0m
|
1192
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1193
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
1194
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1195
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
1196
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1197
|
+
[1m[35mSQL (2.7ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1198
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (2.0ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1199
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
1200
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1201
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1202
|
+
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
1203
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1204
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
1205
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1206
|
+
[1m[35mSQL (2.5ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1207
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (2.1ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1208
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1209
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1210
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1211
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1212
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1213
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1214
|
+
[1m[35m (188.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "graphql_api_test"[0m
|
1215
|
+
[1m[35m (379.6ms)[0m [1m[35mCREATE DATABASE "graphql_api_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1216
|
+
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
1217
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
1218
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1219
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1220
|
+
[1m[35m (1.5ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
1221
|
+
[1m[35m (20.9ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1222
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
1223
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT current_schema[0m
|
1224
|
+
[1m[35m (2.5ms)[0m [1m[34mSELECT a.attname AS column_name
|
1225
|
+
FROM pg_catalog.pg_attribute a
|
1226
|
+
WHERE a.attrelid = (
|
1227
|
+
SELECT c.oid
|
1228
|
+
FROM pg_catalog.pg_class c
|
1229
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1230
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscription_events)$'
|
1231
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1232
|
+
)
|
1233
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1234
|
+
ORDER BY a.attnum;
|
1235
|
+
[0m
|
1236
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'id') AS result
|
1237
|
+
[0m
|
1238
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'public_subscription_id') AS result
|
1239
|
+
[0m
|
1240
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'partition_key') AS result
|
1241
|
+
[0m
|
1242
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'topic_name') AS result
|
1243
|
+
[0m
|
1244
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'tenant_id') AS result
|
1245
|
+
[0m
|
1246
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'event_json') AS result
|
1247
|
+
[0m
|
1248
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscription_events', 'created_at') AS result
|
1249
|
+
[0m
|
1250
|
+
[1m[35m (1.5ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
1251
|
+
[1m[35m (9.5ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "schema_key" character varying NOT NULL)[0m
|
1252
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
1253
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT current_schema[0m
|
1254
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT a.attname AS column_name
|
1255
|
+
FROM pg_catalog.pg_attribute a
|
1256
|
+
WHERE a.attrelid = (
|
1257
|
+
SELECT c.oid
|
1258
|
+
FROM pg_catalog.pg_class c
|
1259
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1260
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(public_subscriptions)$'
|
1261
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1262
|
+
)
|
1263
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1264
|
+
ORDER BY a.attnum;
|
1265
|
+
[0m
|
1266
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'id') AS result
|
1267
|
+
[0m
|
1268
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'subscription_group_id') AS result
|
1269
|
+
[0m
|
1270
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'event_type') AS result
|
1271
|
+
[0m
|
1272
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'topic_name') AS result
|
1273
|
+
[0m
|
1274
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'query') AS result
|
1275
|
+
[0m
|
1276
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'created_at') AS result
|
1277
|
+
[0m
|
1278
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'updated_at') AS result
|
1279
|
+
[0m
|
1280
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.public_subscriptions', 'schema_key') AS result
|
1281
|
+
[0m
|
1282
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1283
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT current_schema[0m
|
1284
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT a.attname AS column_name
|
1285
|
+
FROM pg_catalog.pg_attribute a
|
1286
|
+
WHERE a.attrelid = (
|
1287
|
+
SELECT c.oid
|
1288
|
+
FROM pg_catalog.pg_class c
|
1289
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1290
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(schema_migrations)$'
|
1291
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1292
|
+
)
|
1293
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1294
|
+
ORDER BY a.attnum;
|
1295
|
+
[0m
|
1296
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.schema_migrations', 'version') AS result
|
1297
|
+
[0m
|
1298
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1299
|
+
[1m[35m (2.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200611150212)[0m
|
1300
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1301
|
+
(20200604203932),
|
1302
|
+
(20200303193414);
|
1303
|
+
|
1304
|
+
[0m
|
1305
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1306
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT current_schema[0m
|
1307
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT a.attname AS column_name
|
1308
|
+
FROM pg_catalog.pg_attribute a
|
1309
|
+
WHERE a.attrelid = (
|
1310
|
+
SELECT c.oid
|
1311
|
+
FROM pg_catalog.pg_class c
|
1312
|
+
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
1313
|
+
WHERE c.relname OPERATOR(pg_catalog.~) '^(ar_internal_metadata)$'
|
1314
|
+
AND n.nspname OPERATOR(pg_catalog.~) '^(public)$'
|
1315
|
+
)
|
1316
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
1317
|
+
ORDER BY a.attnum;
|
1318
|
+
[0m
|
1319
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'key') AS result
|
1320
|
+
[0m
|
1321
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'value') AS result
|
1322
|
+
[0m
|
1323
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'created_at') AS result
|
1324
|
+
[0m
|
1325
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_get_serial_sequence('public.ar_internal_metadata', 'updated_at') AS result
|
1326
|
+
[0m
|
1327
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1328
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
1329
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-11 15:17:44.979682"], ["updated_at", "2020-06-11 15:17:44.979682"]]
|
1330
|
+
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
1331
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1332
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
1333
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.8ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-11 15:17:44.992037"], ["key", "environment"]]
|
1334
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
1335
|
+
[1m[35mSQL (2.7ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1336
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (2.6ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1337
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1338
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1339
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1340
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
1341
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1342
|
+
Migrating to AddSchemaKeyToPublicSubscriptions (20200611150212)
|
1343
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1344
|
+
[1m[35m (1.5ms)[0m [1m[35mSHOW statement_timeout[0m
|
1345
|
+
[1m[35m (1.1ms)[0m [1m[35mSET statement_timeout TO '0ms'[0m
|
1346
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT nspname FROM pg_namespace WHERE nspname !~ '^pg_.*' AND nspname NOT IN ('information_schema', 'extensions', 'londiste', 'pgq', 'pgq_ext', 'pgq_node') ORDER by nspname[0m
|
1347
|
+
[1m[35m (4.7ms)[0m [1m[35mALTER TABLE "public_subscriptions" DROP COLUMN "schema_key"[0m
|
1348
|
+
[1m[35m (1.2ms)[0m [1m[35mSET statement_timeout TO '0'[0m
|
1349
|
+
[1m[36mActiveRecord::SchemaMigration Destroy (1.5ms)[0m [1m[31mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1[0m [["version", "20200611150212"]]
|
1350
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1351
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
1352
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1353
|
+
[1m[35mSQL (2.2ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1354
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (2.1ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1355
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
1356
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1357
|
+
Migrating to AddSchemaKeyToPublicSubscriptions (20200611150212)
|
1358
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
1359
|
+
[1m[35m (1.4ms)[0m [1m[35mSHOW statement_timeout[0m
|
1360
|
+
[1m[35m (1.3ms)[0m [1m[35mSET statement_timeout TO '0ms'[0m
|
1361
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT nspname FROM pg_namespace WHERE nspname !~ '^pg_.*' AND nspname NOT IN ('information_schema', 'extensions', 'londiste', 'pgq', 'pgq_ext', 'pgq_node') ORDER by nspname[0m
|
1362
|
+
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "public_subscriptions" ADD "schema_key" text[0m
|
1363
|
+
[1m[35mSQL (2.4ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1364
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (2.0ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1365
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
1366
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1367
|
+
Migrating to AddSchemaKeyToPublicSubscriptions (20200611150212)
|
1368
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
1369
|
+
[1m[35m (1.3ms)[0m [1m[35mSHOW statement_timeout[0m
|
1370
|
+
[1m[35m (1.4ms)[0m [1m[35mSET statement_timeout TO '0ms'[0m
|
1371
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT nspname FROM pg_namespace WHERE nspname !~ '^pg_.*' AND nspname NOT IN ('information_schema', 'extensions', 'londiste', 'pgq', 'pgq_ext', 'pgq_node') ORDER by nspname[0m
|
1372
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "public_subscriptions" ADD "schema_key" text[0m
|
1373
|
+
[1m[35m (1.9ms)[0m [1m[35mSET statement_timeout TO '0'[0m
|
1374
|
+
[1m[35m (2.1ms)[0m [1m[31mROLLBACK[0m
|
1375
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
1376
|
+
[1m[35mSQL (2.0ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1377
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (2.1ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1378
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
1379
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1380
|
+
Migrating to AddSchemaKeyToPublicSubscriptions (20200611150212)
|
1381
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
1382
|
+
[1m[35m (1.5ms)[0m [1m[35mSHOW statement_timeout[0m
|
1383
|
+
[1m[35m (1.3ms)[0m [1m[35mSET statement_timeout TO '0ms'[0m
|
1384
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT nspname FROM pg_namespace WHERE nspname !~ '^pg_.*' AND nspname NOT IN ('information_schema', 'extensions', 'londiste', 'pgq', 'pgq_ext', 'pgq_node') ORDER by nspname[0m
|
1385
|
+
[1m[35m (2.3ms)[0m [1m[35mALTER TABLE "public_subscriptions" ADD "schema_key" text[0m
|
1386
|
+
[1m[35m (2.1ms)[0m [1m[33mUPDATE public_subscriptions SET schema_key = SPLIT_PART(event_type, '::', 1)[0m
|
1387
|
+
[1m[35m (1.2ms)[0m [1m[35mSET statement_timeout TO '0'[0m
|
1388
|
+
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
|
1389
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
1390
|
+
[1m[35mSQL (3.2ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1391
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (2.7ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1392
|
+
[1m[35m (2.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
1393
|
+
[1m[35m (2.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1394
|
+
Migrating to AddSchemaKeyToPublicSubscriptions (20200611150212)
|
1395
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
1396
|
+
[1m[35m (1.6ms)[0m [1m[35mSHOW statement_timeout[0m
|
1397
|
+
[1m[35m (2.0ms)[0m [1m[35mSET statement_timeout TO '0ms'[0m
|
1398
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT nspname FROM pg_namespace WHERE nspname !~ '^pg_.*' AND nspname NOT IN ('information_schema', 'extensions', 'londiste', 'pgq', 'pgq_ext', 'pgq_node') ORDER by nspname[0m
|
1399
|
+
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "public_subscriptions" ADD "schema_key" text[0m
|
1400
|
+
[1m[35m (1.9ms)[0m [1m[33mUPDATE public_subscriptions SET schema_key = SPLIT_PART(event_type, '::', 1)[0m
|
1401
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "public_subscriptions" ALTER COLUMN "schema_key" TYPE text, ALTER COLUMN "schema_key" SET NOT NULL[0m
|
1402
|
+
[1m[35m (1.3ms)[0m [1m[35mSET statement_timeout TO '0'[0m
|
1403
|
+
[1m[36mActiveRecord::SchemaMigration Create (2.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200611150212"]]
|
1404
|
+
[1m[35m (4.7ms)[0m [1m[35mCOMMIT[0m
|
1405
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1406
|
+
[1m[35m (1.9ms)[0m [1m[35mBEGIN[0m
|
1407
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1408
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
1409
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1410
|
+
[1m[35mSQL (4.8ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1411
|
+
[1m[36mGraphqlApi::Models::PublicSubscription Load (4.3ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1412
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(3732957763885691250)[0m
|
1413
|
+
[1m[35m (4.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1414
|
+
[1m[36mActiveRecord::InternalMetadata Load (3.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1415
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
1416
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1417
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_advisory_unlock(3732957763885691250)[0m
|
1418
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1419
|
+
[1m[35m (2.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
1420
|
+
[1m[35m (443.4ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1421
|
+
[1m[35mSQL (2.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
1422
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
1423
|
+
[1m[35mSQL (1.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1424
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1425
|
+
[1m[35m (2.5ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
1426
|
+
[1m[35m (10.6ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1427
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
1428
|
+
[1m[35m (1.2ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
1429
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "schema_key" text NOT NULL)[0m
|
1430
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
1431
|
+
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1432
|
+
[1m[35m (2.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1433
|
+
[1m[35m (2.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200611150212)[0m
|
1434
|
+
[1m[35m (1.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1435
|
+
(20200604203932),
|
1436
|
+
(20200303193414);
|
1437
|
+
|
1438
|
+
[0m
|
1439
|
+
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1440
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1441
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
1442
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-24 19:38:19.086548"], ["updated_at", "2020-06-24 19:38:19.086548"]]
|
1443
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1444
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1445
|
+
[1m[35m (2.5ms)[0m [1m[35mBEGIN[0m
|
1446
|
+
[1m[36mActiveRecord::InternalMetadata Update (2.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-24 19:38:19.115578"], ["key", "environment"]]
|
1447
|
+
[1m[35m (2.6ms)[0m [1m[35mCOMMIT[0m
|
1448
|
+
[1m[35m (340.7ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1449
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1450
|
+
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
1451
|
+
[1m[35mSQL (1.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
1452
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1453
|
+
[1m[35mSQL (1.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1454
|
+
[1m[35m (2.0ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
1455
|
+
[1m[35m (13.3ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1456
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
1457
|
+
[1m[35m (1.1ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
1458
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "schema_key" text NOT NULL)[0m
|
1459
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
1460
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1461
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1462
|
+
[1m[35m (3.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200611150212)[0m
|
1463
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1464
|
+
(20200604203932),
|
1465
|
+
(20200303193414);
|
1466
|
+
|
1467
|
+
[0m
|
1468
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1469
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1470
|
+
[1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
|
1471
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-25 18:43:10.061580"], ["updated_at", "2020-06-25 18:43:10.061580"]]
|
1472
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1473
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1474
|
+
[1m[35m (2.1ms)[0m [1m[35mBEGIN[0m
|
1475
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1476
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
1477
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
1478
|
+
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1479
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1480
|
+
[1m[35m (5.7ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
1481
|
+
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1482
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
1483
|
+
[1m[35m (3.4ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
1484
|
+
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "schema_key" text NOT NULL)[0m
|
1485
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
1486
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1487
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1488
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1489
|
+
[1m[36mActiveRecord::InternalMetadata Update (2.1ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "development"], ["updated_at", "2020-06-25 18:43:10.198067"], ["key", "environment"]]
|
1490
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1491
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1492
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
1493
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-25 18:43:10.208069"], ["key", "environment"]]
|
1494
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1495
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1496
|
+
[1m[35mSQL (2.6ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1497
|
+
[1m[36mNulogyMessageBusProducer::PublicSubscription Load (2.2ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1498
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1499
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1500
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1501
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1502
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1503
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1504
|
+
[1m[35m (121.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_development"[0m
|
1505
|
+
[1m[35m (119.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
1506
|
+
[1m[35m (314.8ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1507
|
+
[1m[35m (317.6ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1508
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
1509
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
1510
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1511
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1512
|
+
[1m[35m (1.9ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
1513
|
+
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1514
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
1515
|
+
[1m[35m (1.3ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
1516
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "schema_key" text NOT NULL)[0m
|
1517
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
1518
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1519
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1520
|
+
[1m[35m (2.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200611150212)[0m
|
1521
|
+
[1m[35m (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1522
|
+
(20200604203932),
|
1523
|
+
(20200303193414);
|
1524
|
+
|
1525
|
+
[0m
|
1526
|
+
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1527
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1528
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1529
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-25 19:07:28.084859"], ["updated_at", "2020-06-25 19:07:28.084859"]]
|
1530
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
1531
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1532
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
1533
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1534
|
+
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
1535
|
+
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
1536
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1537
|
+
[1m[35mSQL (2.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1538
|
+
[1m[35m (1.5ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscription_events" CASCADE[0m
|
1539
|
+
[1m[35m (10.5ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1540
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
1541
|
+
[1m[35m (1.9ms)[0m [1m[35mDROP TABLE IF EXISTS "public_subscriptions" CASCADE[0m
|
1542
|
+
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "schema_key" text NOT NULL)[0m
|
1543
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
1544
|
+
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1545
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1546
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200611150212)[0m
|
1547
|
+
[1m[35m (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1548
|
+
(20200604203932),
|
1549
|
+
(20200303193414);
|
1550
|
+
|
1551
|
+
[0m
|
1552
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1553
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1554
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1555
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-25 19:07:28.220975"], ["updated_at", "2020-06-25 19:07:28.220975"]]
|
1556
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1557
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1558
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1559
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-25 19:07:28.230198"], ["key", "environment"]]
|
1560
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1561
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1562
|
+
[1m[35mSQL (2.6ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1563
|
+
[1m[36mNulogyMessageBusProducer::PublicSubscription Load (2.2ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1564
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1565
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1566
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1567
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1568
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1569
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1570
|
+
[1m[35m (113.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_development"[0m
|
1571
|
+
[1m[35m (116.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
1572
|
+
[1m[35m (323.1ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1573
|
+
[1m[35m (312.3ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1574
|
+
[1m[35mSQL (2.3ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1575
|
+
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1576
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1577
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1578
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1579
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
1580
|
+
[1m[35m (2.3ms)[0m [1m[35mBEGIN[0m
|
1581
|
+
[1m[35m (2.5ms)[0m [1m[31mROLLBACK[0m
|
1582
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1583
|
+
[1m[35mSQL (2.5ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1584
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1585
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1586
|
+
[1m[35m (111.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_development"[0m
|
1587
|
+
[1m[35m (117.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
1588
|
+
[1m[35m (320.2ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1589
|
+
[1m[35m (295.5ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1590
|
+
[1m[35mSQL (2.4ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1591
|
+
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1592
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1593
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1594
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1595
|
+
Migrating to AddPublicSubscriptions (20200303193414)
|
1596
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
1597
|
+
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1598
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_public_subscriptions_on_event_type" ON "public_subscriptions" ("event_type")[0m
|
1599
|
+
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1600
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_public_subscription_events_on_created_at" ON "public_subscription_events" ("created_at")[0m
|
1601
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200303193414"]]
|
1602
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1603
|
+
Migrating to UpdateSubscriptionsToUseId (20200604203932)
|
1604
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1605
|
+
[1m[35m (1.4ms)[0m [1m[33m UPDATE public_subscriptions
|
1606
|
+
SET query = REGEXP_REPLACE(query, '(W)uuid(W)', 'id', 'g')
|
1607
|
+
[0m
|
1608
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200604203932"]]
|
1609
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
1610
|
+
Migrating to AddSchemaKeyToPublicSubscriptions (20200611150212)
|
1611
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
1612
|
+
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "public_subscriptions" ADD "schema_key" text[0m
|
1613
|
+
[1m[35m (1.8ms)[0m [1m[33mUPDATE public_subscriptions
|
1614
|
+
SET schema_key = SPLIT_PART(event_type, '::', 1),
|
1615
|
+
event_type = SPLIT_PART(event_type, '::', 2)
|
1616
|
+
[0m
|
1617
|
+
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "public_subscriptions" ALTER COLUMN "schema_key" TYPE text, ALTER COLUMN "schema_key" SET NOT NULL[0m
|
1618
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200611150212"]]
|
1619
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1620
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1621
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1622
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-25 19:24:21.527611"], ["updated_at", "2020-06-25 19:24:21.527611"]]
|
1623
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1624
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1625
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1626
|
+
[1m[35mSQL (2.2ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1627
|
+
[1m[36mNulogyMessageBusProducer::PublicSubscription Load (2.4ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1628
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1629
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1630
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1631
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1632
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1633
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1634
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1635
|
+
[1m[35mSQL (2.2ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1636
|
+
[1m[36mNulogyMessageBusProducer::PublicSubscription Load (1.9ms)[0m [1m[34mSELECT "public_subscriptions".* FROM "public_subscriptions"[0m
|
1637
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1638
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1639
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1640
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1641
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1642
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1643
|
+
[1m[35m (120.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_development"[0m
|
1644
|
+
[1m[35m (113.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
1645
|
+
[1m[35m (318.0ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1646
|
+
[1m[35m (315.1ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1647
|
+
[1m[35mSQL (2.2ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1648
|
+
[1m[35m (10.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1649
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1650
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1651
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1652
|
+
Migrating to CreatePublicSubscriptionsAndEventsTables (20200611150212)
|
1653
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1654
|
+
[1m[35mSQL (2.2ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1655
|
+
[1m[35mSQL (2.1ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1656
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1657
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1658
|
+
Migrating to CreatePublicSubscriptionsAndEventsTables (20200611150212)
|
1659
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
1660
|
+
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1661
|
+
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "nulogy_message_bus_producer_public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1662
|
+
[1m[35m (2.9ms)[0m [1m[31mROLLBACK[0m
|
1663
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1664
|
+
[1m[35mSQL (2.1ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1665
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1666
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1667
|
+
Migrating to CreatePublicSubscriptionsAndEventsTables (20200611150212)
|
1668
|
+
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1669
|
+
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1670
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "nulogy_message_bus_producer_public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1671
|
+
[1m[35m (1.7ms)[0m [1m[31mROLLBACK[0m
|
1672
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1673
|
+
[1m[35mSQL (1.9ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1674
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1675
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1676
|
+
Migrating to CreatePublicSubscriptionsAndEventsTables (20200611150212)
|
1677
|
+
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
|
1678
|
+
[1m[35mSQL (2.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1679
|
+
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "nulogy_message_bus_producer_public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1680
|
+
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
|
1681
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1682
|
+
[1m[35mSQL (1.9ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1683
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1684
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1685
|
+
Migrating to CreatePublicSubscriptionsAndEventsTables (20200611150212)
|
1686
|
+
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
1687
|
+
[1m[35mSQL (2.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1688
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "nulogy_message_bus_producer_public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1689
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_public_subscriptions_on_event_type" ON "nulogy_message_bus_producer_public_subscriptions" ("event_type")[0m
|
1690
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "nulogy_message_bus_producer_public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1691
|
+
[1m[35m (1.8ms)[0m [1m[31mROLLBACK[0m
|
1692
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1693
|
+
[1m[35mSQL (2.2ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1694
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1695
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1696
|
+
Migrating to CreatePublicSubscriptionsAndEventsTables (20200611150212)
|
1697
|
+
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
|
1698
|
+
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1699
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "nulogy_message_bus_producer_public_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1700
|
+
[1m[35m (2.7ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "nulogy_message_bus_producer_public_subscriptions" ("event_type")[0m
|
1701
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "nulogy_message_bus_producer_public_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1702
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "nulogy_message_bus_producer_public_subscription_events" ("created_at")[0m
|
1703
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200611150212"]]
|
1704
|
+
[1m[35m (2.5ms)[0m [1m[35mCOMMIT[0m
|
1705
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1706
|
+
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
|
1707
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-25 19:54:32.371335"], ["updated_at", "2020-06-25 19:54:32.371335"]]
|
1708
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1709
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1710
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1711
|
+
[1m[35mSQL (2.2ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1712
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1713
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1714
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1715
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1716
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1717
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1718
|
+
[1m[35m (114.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_development"[0m
|
1719
|
+
[1m[35m (116.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
1720
|
+
[1m[35m (319.5ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1721
|
+
[1m[35m (301.0ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1722
|
+
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1723
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1724
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
1725
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1726
|
+
Migrating to CreatePublicSubscriptionsAndEventsTables (20200611150212)
|
1727
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
1728
|
+
[1m[35mSQL (2.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1729
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1730
|
+
[1m[35m (2.8ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1731
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1732
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1733
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200611150212"]]
|
1734
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
1735
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1736
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1737
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-25 20:02:34.049808"], ["updated_at", "2020-06-25 20:02:34.049808"]]
|
1738
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1739
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
1740
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1741
|
+
[1m[35mSQL (2.3ms)[0m [1m[34mSELECT tablename FROM pg_tables WHERE tablename = 'public_subscriptions' AND schemaname = 'public';[0m
|
1742
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1743
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1744
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1745
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1746
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1747
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1748
|
+
[1m[35m (117.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
1749
|
+
[1m[35m (299.7ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8' TEMPLATE = "template_packmanager"[0m
|
1750
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "citext"[0m
|
1751
|
+
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
1752
|
+
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1753
|
+
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1754
|
+
[1m[35m (1.5ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1755
|
+
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "public_subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "tenant_id" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1756
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1757
|
+
[1m[35m (1.5ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1758
|
+
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1759
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1760
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1761
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1762
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20200611150212)[0m
|
1763
|
+
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1764
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1765
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1766
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-06-25 20:05:37.681460"], ["updated_at", "2020-06-25 20:05:37.681460"]]
|
1767
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1768
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1769
|
+
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
|
1770
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-06-25 20:05:37.691325"], ["key", "environment"]]
|
1771
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|