nulogy_message_bus_producer 3.2.1 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/lib/nulogy_message_bus_producer/subscriptions/risky_subscription_blocker.rb +0 -5
- data/lib/nulogy_message_bus_producer/version.rb +1 -1
- data/spec/dummy/config/database.yml +2 -2
- data/spec/integration/lib/nulogy_message_bus_producer/repopulate_replication_slots_spec.rb +3 -4
- data/spec/support/kafka.rb +9 -10
- metadata +17 -7
- data/spec/dummy/log/development.log +0 -2281
- data/spec/dummy/log/test.log +0 -37067
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f25e6c8908723688660d57c0959e9a90148c3546a7f8015348fd610f05743711
|
4
|
+
data.tar.gz: 67440649f40183608436a823695d309dd7917c754aced8ac2c2e9e8d6279431f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59e33bfcea9890adbb3d9814a7d64b22bb73c85273115a35c3f8915859e0cc382e8d3ad2f55a29e9e5ad46176a537ca7ecf187dedc483a006ab812c8103334bb
|
7
|
+
data.tar.gz: 3fc07ac8fc834bce6900cacbd1247ca069f9f83f678ec6865fc722e7d86d32e63718dc6306c55f046109803d9ab040fd9bf092782ac86d1a79c05d820d79f070
|
data/README.md
CHANGED
@@ -223,3 +223,14 @@ docker-compose up
|
|
223
223
|
rake db:setup
|
224
224
|
rake
|
225
225
|
```
|
226
|
+
|
227
|
+
# Gem Releases
|
228
|
+
|
229
|
+
You must be listed as a gem owner [on rubygems](https://rubygems.org/gems/nulogy_message_bus_producer) to cut a release:
|
230
|
+
|
231
|
+
* Merge your changes to `master`
|
232
|
+
* Commit a version bump
|
233
|
+
* Update `lib/nulogy_message_bus_producer/version.rb`
|
234
|
+
* Run `bundle install`
|
235
|
+
* Update the CHANGELOG
|
236
|
+
* Run `rake release`
|
@@ -43,11 +43,6 @@ module NulogyMessageBusProducer
|
|
43
43
|
error_messages << "Arguments may not be used:\n#{node_names}"
|
44
44
|
end
|
45
45
|
|
46
|
-
if @nodes_are_lists.any?
|
47
|
-
node_names = @nodes_are_lists.map(&:name).join("\n")
|
48
|
-
error_messages << "Lists may not be queried:\n#{node_names}"
|
49
|
-
end
|
50
|
-
|
51
46
|
GraphQL::AnalysisError.new(error_messages.join("\n\n")) if error_messages.any?
|
52
47
|
end
|
53
48
|
|
@@ -5,8 +5,8 @@ defaults: &defaults
|
|
5
5
|
adapter: postgresql
|
6
6
|
username: <%= ENV['NULOGY_MESSAGE_BUS_PRODUCER_DATABASE_USER'] || "nulogy" %>
|
7
7
|
password: <%= ENV['NULOGY_MESSAGE_BUS_PRODUCER_DATABASE_PASS'] || "Nulogy4Ever" %>
|
8
|
-
host: <%= ENV['
|
9
|
-
port:
|
8
|
+
host: <%= ENV['DATABASE_HOST'] || "localhost" %>
|
9
|
+
port: 5438
|
10
10
|
min_messages: warning
|
11
11
|
schema_search_path: "\"$user\", public"
|
12
12
|
|
@@ -5,8 +5,8 @@ RSpec.describe NulogyMessageBusProducer::RepopulateReplicationSlots do
|
|
5
5
|
let(:company_uuid) { SecureRandom.uuid }
|
6
6
|
let(:number_of_messages) { 100 }
|
7
7
|
|
8
|
-
let(:kafka_bootstrap_servers) { "
|
9
|
-
let(:kafka_connect) { KafkaConnect.new("http://
|
8
|
+
let(:kafka_bootstrap_servers) { "kafka:39093" }
|
9
|
+
let(:kafka_connect) { KafkaConnect.new("http://debezium:8083", "ruby_specs") }
|
10
10
|
let(:replication_slot_name) { "rspec_replication_slot" }
|
11
11
|
let(:topic_name) { "repopulate_replication_slot_tests" }
|
12
12
|
|
@@ -88,9 +88,8 @@ RSpec.describe NulogyMessageBusProducer::RepopulateReplicationSlots do
|
|
88
88
|
|
89
89
|
{
|
90
90
|
"bootstrap.servers": kafka_bootstrap_servers,
|
91
|
-
|
92
91
|
"database.dbname": db_config["database"],
|
93
|
-
"database.hostname": db_config["host"]
|
92
|
+
"database.hostname": db_config["host"],
|
94
93
|
"database.password": db_config["password"],
|
95
94
|
"database.port": db_config["port"] || 5432,
|
96
95
|
"database.server.name": "test-environment",
|
data/spec/support/kafka.rb
CHANGED
@@ -24,7 +24,7 @@ module Kafka
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def test_bootstrap_servers
|
27
|
-
"
|
27
|
+
"kafka:29093"
|
28
28
|
end
|
29
29
|
|
30
30
|
def setup_kafka_producer
|
@@ -33,6 +33,8 @@ module Kafka
|
|
33
33
|
|
34
34
|
def setup_kafka_consumer(topic_name)
|
35
35
|
consumer = kafka_config.consumer
|
36
|
+
puts "Subscribing to #{topic_name}"
|
37
|
+
sleep 10
|
36
38
|
consumer.subscribe(topic_name)
|
37
39
|
wait_for_assignment(consumer)
|
38
40
|
consumer
|
@@ -61,23 +63,20 @@ module Kafka
|
|
61
63
|
|
62
64
|
def create_topic(topic_name)
|
63
65
|
cmd = [
|
64
|
-
"
|
65
|
-
"
|
66
|
-
"--
|
67
|
-
"--
|
68
|
-
"--replication-factor 1",
|
69
|
-
"--partitions 3",
|
70
|
-
"--if-not-exists --topic #{topic_name}"
|
66
|
+
"kaf topic create #{topic_name}",
|
67
|
+
"--brokers kafka:29093",
|
68
|
+
"--replicas 1",
|
69
|
+
"--partitions 3"
|
71
70
|
]
|
72
71
|
run(cmd.join(" "))
|
73
72
|
end
|
74
73
|
|
75
74
|
def delete_topic(topic_name)
|
76
|
-
run("
|
75
|
+
run("kaf topic delete #{topic_name} --brokers kafka:29093")
|
77
76
|
end
|
78
77
|
|
79
78
|
def list_topics
|
80
|
-
topics = run("
|
79
|
+
topics = run("kaf topics --brokers kafka:29093")
|
81
80
|
topics.split(" ")
|
82
81
|
end
|
83
82
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nulogy_message_bus_producer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nulogy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler-audit
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.7.0.1
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.7.0.1
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: pg
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -277,8 +291,6 @@ files:
|
|
277
291
|
- spec/dummy/config/spring.rb
|
278
292
|
- spec/dummy/db/migrate/20201005164116_create_active_storage_tables.active_storage.rb
|
279
293
|
- spec/dummy/db/schema.rb
|
280
|
-
- spec/dummy/log/development.log
|
281
|
-
- spec/dummy/log/test.log
|
282
294
|
- spec/dummy/package.json
|
283
295
|
- spec/dummy/public/404.html
|
284
296
|
- spec/dummy/public/422.html
|
@@ -318,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
318
330
|
- !ruby/object:Gem::Version
|
319
331
|
version: '0'
|
320
332
|
requirements: []
|
321
|
-
rubygems_version: 3.0.
|
333
|
+
rubygems_version: 3.0.8
|
322
334
|
signing_key:
|
323
335
|
specification_version: 4
|
324
336
|
summary: Nulogy's code for producing to the Message Bus
|
@@ -377,8 +389,6 @@ test_files:
|
|
377
389
|
- spec/dummy/package.json
|
378
390
|
- spec/dummy/db/schema.rb
|
379
391
|
- spec/dummy/db/migrate/20201005164116_create_active_storage_tables.active_storage.rb
|
380
|
-
- spec/dummy/log/test.log
|
381
|
-
- spec/dummy/log/development.log
|
382
392
|
- spec/integration_spec_helper.rb
|
383
393
|
- spec/integration/lib/nulogy_message_bus_producer/repopulate_replication_slots_spec.rb
|
384
394
|
- spec/integration/lib/nulogy_message_bus_producer/subscriptions/risky_subscription_blocker_spec.rb
|
@@ -1,2281 +0,0 @@
|
|
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
|
1772
|
-
[1m[35m (410.1ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
1773
|
-
[1m[35m (328.2ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
1774
|
-
[1m[35mSQL (3.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1775
|
-
[1m[35mSQL (44.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1776
|
-
[1m[35m (2.8ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1777
|
-
[1m[35m (19.5ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1778
|
-
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1779
|
-
[1m[35m (1.4ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1780
|
-
[1m[35m (6.4ms)[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
|
1781
|
-
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1782
|
-
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1783
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1784
|
-
[1m[35m (2.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201005164141)[0m
|
1785
|
-
[1m[35m (1.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1786
|
-
(20201005164117),
|
1787
|
-
(20201005164116),
|
1788
|
-
(20200611150212),
|
1789
|
-
(20201005150212);
|
1790
|
-
|
1791
|
-
[0m
|
1792
|
-
[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
|
1793
|
-
[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]]
|
1794
|
-
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
1795
|
-
[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-10-07 15:48:30.647330"], ["updated_at", "2020-10-07 15:48:30.647330"]]
|
1796
|
-
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1797
|
-
[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]]
|
1798
|
-
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
1799
|
-
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1800
|
-
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1801
|
-
[1m[35mSQL (7.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1802
|
-
[1m[35m (1.7ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1803
|
-
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1804
|
-
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1805
|
-
[1m[35m (1.2ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1806
|
-
[1m[35m (5.6ms)[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
|
1807
|
-
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1808
|
-
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1809
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1810
|
-
[1m[35m (1.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201005164141)[0m
|
1811
|
-
[1m[35m (1.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1812
|
-
(20201005164117),
|
1813
|
-
(20201005164116),
|
1814
|
-
(20200611150212),
|
1815
|
-
(20201005150212);
|
1816
|
-
|
1817
|
-
[0m
|
1818
|
-
[1m[35m (6.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
|
1819
|
-
[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]]
|
1820
|
-
[1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
|
1821
|
-
[1m[36mActiveRecord::InternalMetadata Create (1.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-10-07 15:48:30.787108"], ["updated_at", "2020-10-07 15:48:30.787108"]]
|
1822
|
-
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1823
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1824
|
-
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
|
1825
|
-
[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-10-07 15:48:30.794431"], ["key", "environment"]]
|
1826
|
-
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1827
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
1828
|
-
[1m[35m (1.6ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
1829
|
-
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1830
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1831
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1832
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1833
|
-
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1834
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1835
|
-
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1836
|
-
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1837
|
-
[1m[35m (4.4ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1838
|
-
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1839
|
-
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1840
|
-
[1m[35m (3.2ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1841
|
-
[1m[35m (6.5ms)[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
|
1842
|
-
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1843
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1844
|
-
[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]]
|
1845
|
-
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1846
|
-
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1847
|
-
[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]]
|
1848
|
-
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
1849
|
-
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1850
|
-
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1851
|
-
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1852
|
-
[1m[35m (4.2ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1853
|
-
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1854
|
-
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1855
|
-
[1m[35m (3.0ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1856
|
-
[1m[35m (6.4ms)[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
|
1857
|
-
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1858
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1859
|
-
[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]]
|
1860
|
-
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1861
|
-
[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", "development"], ["updated_at", "2020-10-07 15:53:28.600948"], ["key", "environment"]]
|
1862
|
-
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1863
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1864
|
-
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1865
|
-
[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-10-07 15:53:28.609152"], ["key", "environment"]]
|
1866
|
-
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1867
|
-
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1868
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1869
|
-
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1870
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1871
|
-
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1872
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1873
|
-
[1m[35m (115.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
1874
|
-
[1m[35m (313.3ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
1875
|
-
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1876
|
-
[1m[35mSQL (5.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1877
|
-
[1m[35m (1.6ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1878
|
-
[1m[35m (20.6ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1879
|
-
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1880
|
-
[1m[35m (1.2ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1881
|
-
[1m[35m (6.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
|
1882
|
-
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1883
|
-
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1884
|
-
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1885
|
-
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201005164141)[0m
|
1886
|
-
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1887
|
-
(20201005164117),
|
1888
|
-
(20201005164116),
|
1889
|
-
(20200611150212),
|
1890
|
-
(20201005150212);
|
1891
|
-
|
1892
|
-
[0m
|
1893
|
-
[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
|
1894
|
-
[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]]
|
1895
|
-
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
1896
|
-
[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-10-07 15:53:54.354290"], ["updated_at", "2020-10-07 15:53:54.354290"]]
|
1897
|
-
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1898
|
-
[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]]
|
1899
|
-
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1900
|
-
[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-10-07 15:53:54.364764"], ["key", "environment"]]
|
1901
|
-
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1902
|
-
[1m[35m (1.9ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
1903
|
-
[1m[35m (104.6ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
1904
|
-
[1m[35mSQL (3.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1905
|
-
[1m[35mSQL (7.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1906
|
-
[1m[35m (2.0ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1907
|
-
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1908
|
-
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1909
|
-
[1m[35m (1.4ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1910
|
-
[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
|
1911
|
-
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1912
|
-
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1913
|
-
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1914
|
-
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201005164141)[0m
|
1915
|
-
[1m[35m (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1916
|
-
(20201005164117),
|
1917
|
-
(20201005164116),
|
1918
|
-
(20200611150212),
|
1919
|
-
(20201005150212);
|
1920
|
-
|
1921
|
-
[0m
|
1922
|
-
[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
|
1923
|
-
[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]]
|
1924
|
-
[1m[35m (1.9ms)[0m [1m[35mBEGIN[0m
|
1925
|
-
[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-10-07 15:59:07.619367"], ["updated_at", "2020-10-07 15:59:07.619367"]]
|
1926
|
-
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1927
|
-
[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]]
|
1928
|
-
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1929
|
-
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1930
|
-
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1931
|
-
[1m[35mSQL (6.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1932
|
-
[1m[35m (1.4ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1933
|
-
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1934
|
-
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1935
|
-
[1m[35m (1.2ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1936
|
-
[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
|
1937
|
-
[1m[35m (3.2ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1938
|
-
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1939
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1940
|
-
[1m[35m (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201005164141)[0m
|
1941
|
-
[1m[35m (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1942
|
-
(20201005164117),
|
1943
|
-
(20201005164116),
|
1944
|
-
(20200611150212),
|
1945
|
-
(20201005150212);
|
1946
|
-
|
1947
|
-
[0m
|
1948
|
-
[1m[35m (7.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
|
1949
|
-
[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]]
|
1950
|
-
[1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
|
1951
|
-
[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-10-07 15:59:07.749654"], ["updated_at", "2020-10-07 15:59:07.749654"]]
|
1952
|
-
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
1953
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1954
|
-
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
|
1955
|
-
[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-10-07 15:59:07.758768"], ["key", "environment"]]
|
1956
|
-
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1957
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
1958
|
-
[1m[35m (2.5ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
1959
|
-
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1960
|
-
[1m[35m (1.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1961
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1962
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1963
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1964
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1965
|
-
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1966
|
-
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1967
|
-
[1m[35m (4.1ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1968
|
-
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1969
|
-
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1970
|
-
[1m[35m (3.2ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1971
|
-
[1m[35m (6.5ms)[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
|
1972
|
-
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1973
|
-
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1974
|
-
[1m[36mActiveRecord::InternalMetadata Load (2.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1975
|
-
[1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
|
1976
|
-
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1977
|
-
[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]]
|
1978
|
-
[1m[35m (2.3ms)[0m [1m[35mBEGIN[0m
|
1979
|
-
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1980
|
-
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1981
|
-
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
1982
|
-
[1m[35m (4.1ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
1983
|
-
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
1984
|
-
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
1985
|
-
[1m[35m (2.5ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
1986
|
-
[1m[35m (5.8ms)[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
|
1987
|
-
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
1988
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1989
|
-
[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]]
|
1990
|
-
[1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
|
1991
|
-
[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", "development"], ["updated_at", "2020-10-07 16:02:19.118218"], ["key", "environment"]]
|
1992
|
-
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
1993
|
-
[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]]
|
1994
|
-
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
1995
|
-
[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-10-07 16:02:19.127263"], ["key", "environment"]]
|
1996
|
-
[1m[35m (2.5ms)[0m [1m[35mCOMMIT[0m
|
1997
|
-
[1m[35m (2.0ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
1998
|
-
[1m[35m (1.9ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
1999
|
-
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2000
|
-
[1m[35m (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2001
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2002
|
-
[1m[35m (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2003
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2004
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2005
|
-
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2006
|
-
[1m[35mSQL (2.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2007
|
-
[1m[35m (3.7ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2008
|
-
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2009
|
-
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2010
|
-
[1m[35m (2.6ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2011
|
-
[1m[35m (6.2ms)[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
|
2012
|
-
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2013
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2014
|
-
[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]]
|
2015
|
-
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
|
2016
|
-
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
2017
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2018
|
-
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
2019
|
-
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
2020
|
-
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2021
|
-
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2022
|
-
[1m[35m (4.4ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2023
|
-
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2024
|
-
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2025
|
-
[1m[35m (3.1ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2026
|
-
[1m[35m (6.4ms)[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
|
2027
|
-
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2028
|
-
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2029
|
-
[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]]
|
2030
|
-
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
2031
|
-
[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", "development"], ["updated_at", "2020-10-07 16:02:39.454033"], ["key", "environment"]]
|
2032
|
-
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
2033
|
-
[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]]
|
2034
|
-
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
2035
|
-
[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-10-07 16:02:39.463388"], ["key", "environment"]]
|
2036
|
-
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
2037
|
-
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2038
|
-
[1m[35m (1.6ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
2039
|
-
[1m[35m (2.3ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
2040
|
-
[1m[35m (2.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2041
|
-
[1m[35m (2.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2042
|
-
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2043
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2044
|
-
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2045
|
-
[1m[35m (5.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2046
|
-
[1m[35mSQL (2.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2047
|
-
[1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2048
|
-
[1m[35m (8.3ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2049
|
-
[1m[35m (16.2ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2050
|
-
[1m[35m (5.4ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2051
|
-
[1m[35m (6.0ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2052
|
-
[1m[35m (15.8ms)[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
|
2053
|
-
[1m[35m (8.4ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2054
|
-
[1m[35m (3.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2055
|
-
[1m[36mActiveRecord::InternalMetadata Load (2.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2056
|
-
[1m[35m (2.7ms)[0m [1m[35mBEGIN[0m
|
2057
|
-
[1m[35m (2.9ms)[0m [1m[35mCOMMIT[0m
|
2058
|
-
[1m[36mActiveRecord::InternalMetadata Load (4.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2059
|
-
[1m[35m (3.8ms)[0m [1m[35mBEGIN[0m
|
2060
|
-
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
2061
|
-
[1m[35mSQL (4.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2062
|
-
[1m[35mSQL (3.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2063
|
-
[1m[35m (9.0ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2064
|
-
[1m[35m (10.3ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2065
|
-
[1m[35m (9.5ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2066
|
-
[1m[35m (7.8ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2067
|
-
[1m[35m (9.8ms)[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
|
2068
|
-
[1m[35m (7.3ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2069
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2070
|
-
[1m[35m (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201005164141)[0m
|
2071
|
-
[1m[35m (2.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
2072
|
-
(20201005164117),
|
2073
|
-
(20201005164116),
|
2074
|
-
(20200611150212),
|
2075
|
-
(20201005150212);
|
2076
|
-
|
2077
|
-
[0m
|
2078
|
-
[1m[36mActiveRecord::InternalMetadata Load (2.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2079
|
-
[1m[35m (1.9ms)[0m [1m[35mBEGIN[0m
|
2080
|
-
[1m[36mActiveRecord::InternalMetadata Create (5.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-10-07 20:12:35.296503"], ["updated_at", "2020-10-07 20:12:35.296503"]]
|
2081
|
-
[1m[35m (4.9ms)[0m [1m[35mCOMMIT[0m
|
2082
|
-
[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]]
|
2083
|
-
[1m[35m (2.4ms)[0m [1m[35mBEGIN[0m
|
2084
|
-
[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-10-07 20:12:35.321226"], ["key", "environment"]]
|
2085
|
-
[1m[35m (3.7ms)[0m [1m[35mCOMMIT[0m
|
2086
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2087
|
-
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2088
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2089
|
-
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2090
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2091
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2092
|
-
[1m[35m (17.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_development"[0m
|
2093
|
-
[1m[35m (1.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
2094
|
-
[1m[35m (1.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_development"[0m
|
2095
|
-
[1m[35m (21.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
2096
|
-
[1m[35m (153.7ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
2097
|
-
[1m[35m (127.1ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
2098
|
-
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2099
|
-
[1m[35mSQL (21.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2100
|
-
[1m[35m (1.8ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2101
|
-
[1m[35m (13.1ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2102
|
-
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2103
|
-
[1m[35m (1.9ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2104
|
-
[1m[35m (10.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
|
2105
|
-
[1m[35m (6.7ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2106
|
-
[1m[35m (9.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2107
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2108
|
-
[1m[35m (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201005164141)[0m
|
2109
|
-
[1m[35m (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
2110
|
-
(20201005164117),
|
2111
|
-
(20201005164116),
|
2112
|
-
(20200611150212),
|
2113
|
-
(20201005150212);
|
2114
|
-
|
2115
|
-
[0m
|
2116
|
-
[1m[35m (8.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
|
2117
|
-
[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]]
|
2118
|
-
[1m[35m (2.6ms)[0m [1m[35mBEGIN[0m
|
2119
|
-
[1m[36mActiveRecord::InternalMetadata Create (2.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-10-07 20:26:17.154304"], ["updated_at", "2020-10-07 20:26:17.154304"]]
|
2120
|
-
[1m[35m (2.9ms)[0m [1m[35mCOMMIT[0m
|
2121
|
-
[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]]
|
2122
|
-
[1m[35m (3.7ms)[0m [1m[35mBEGIN[0m
|
2123
|
-
[1m[35m (2.4ms)[0m [1m[35mCOMMIT[0m
|
2124
|
-
[1m[35mSQL (2.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2125
|
-
[1m[35mSQL (8.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2126
|
-
[1m[35m (2.3ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2127
|
-
[1m[35m (15.1ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2128
|
-
[1m[35m (9.2ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2129
|
-
[1m[35m (4.9ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2130
|
-
[1m[35m (9.5ms)[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
|
2131
|
-
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2132
|
-
[1m[35m (13.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2133
|
-
[1m[35m (5.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2134
|
-
[1m[35m (3.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201005164141)[0m
|
2135
|
-
[1m[35m (3.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
2136
|
-
(20201005164117),
|
2137
|
-
(20201005164116),
|
2138
|
-
(20200611150212),
|
2139
|
-
(20201005150212);
|
2140
|
-
|
2141
|
-
[0m
|
2142
|
-
[1m[35m (12.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
|
2143
|
-
[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]]
|
2144
|
-
[1m[35m (1.9ms)[0m [1m[35mBEGIN[0m
|
2145
|
-
[1m[36mActiveRecord::InternalMetadata Create (2.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-10-07 20:26:17.388400"], ["updated_at", "2020-10-07 20:26:17.388400"]]
|
2146
|
-
[1m[35m (3.1ms)[0m [1m[35mCOMMIT[0m
|
2147
|
-
[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]]
|
2148
|
-
[1m[35m (2.5ms)[0m [1m[35mBEGIN[0m
|
2149
|
-
[1m[36mActiveRecord::InternalMetadata Update (3.1ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-10-07 20:26:17.406447"], ["key", "environment"]]
|
2150
|
-
[1m[35m (4.2ms)[0m [1m[35mCOMMIT[0m
|
2151
|
-
[1m[35m (2.0ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
2152
|
-
[1m[35m (1.9ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
2153
|
-
[1m[35m (12.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2154
|
-
[1m[35m (2.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2155
|
-
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2156
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2157
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2158
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2159
|
-
[1m[35mSQL (5.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2160
|
-
[1m[35mSQL (2.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2161
|
-
[1m[35m (7.8ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2162
|
-
[1m[35m (10.9ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2163
|
-
[1m[35m (5.5ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2164
|
-
[1m[35m (7.2ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2165
|
-
[1m[35m (13.1ms)[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
|
2166
|
-
[1m[35m (5.3ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2167
|
-
[1m[35m (5.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2168
|
-
[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]]
|
2169
|
-
[1m[35m (2.9ms)[0m [1m[35mBEGIN[0m
|
2170
|
-
[1m[35m (3.2ms)[0m [1m[35mCOMMIT[0m
|
2171
|
-
[1m[36mActiveRecord::InternalMetadata Load (5.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2172
|
-
[1m[35m (4.2ms)[0m [1m[35mBEGIN[0m
|
2173
|
-
[1m[35m (2.2ms)[0m [1m[35mCOMMIT[0m
|
2174
|
-
[1m[35mSQL (2.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2175
|
-
[1m[35mSQL (2.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2176
|
-
[1m[35m (10.6ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2177
|
-
[1m[35m (19.4ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2178
|
-
[1m[35m (5.0ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2179
|
-
[1m[35m (4.6ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2180
|
-
[1m[35m (12.3ms)[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
|
2181
|
-
[1m[35m (7.3ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2182
|
-
[1m[35m (5.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2183
|
-
[1m[36mActiveRecord::InternalMetadata Load (3.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2184
|
-
[1m[35m (2.8ms)[0m [1m[35mBEGIN[0m
|
2185
|
-
[1m[36mActiveRecord::InternalMetadata Update (3.0ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "development"], ["updated_at", "2020-10-07 20:27:27.952213"], ["key", "environment"]]
|
2186
|
-
[1m[35m (5.4ms)[0m [1m[35mCOMMIT[0m
|
2187
|
-
[1m[36mActiveRecord::InternalMetadata Load (4.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2188
|
-
[1m[35m (3.4ms)[0m [1m[35mBEGIN[0m
|
2189
|
-
[1m[36mActiveRecord::InternalMetadata Update (3.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-10-07 20:27:27.978791"], ["key", "environment"]]
|
2190
|
-
[1m[35m (4.4ms)[0m [1m[35mCOMMIT[0m
|
2191
|
-
[1m[35m (3.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2192
|
-
[1m[35m (3.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2193
|
-
[1m[35m (2.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2194
|
-
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2195
|
-
[1m[35m (1.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2196
|
-
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2197
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2198
|
-
[1m[35m (35.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_development"[0m
|
2199
|
-
[1m[35m (2.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
2200
|
-
[1m[35m (2.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_development"[0m
|
2201
|
-
[1m[35m (22.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "nulogy_message_bus_producer_test"[0m
|
2202
|
-
[1m[35m (188.2ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
2203
|
-
[1m[35m (122.6ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
2204
|
-
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2205
|
-
[1m[35m (5.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
|
2206
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(3053653019973222135)[0m
|
2207
|
-
[1m[35m (2.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2208
|
-
Migrating to CreatePublicSubscriptionsAndEventsTables (20200611150212)
|
2209
|
-
[1m[35m (2.4ms)[0m [1m[35mBEGIN[0m
|
2210
|
-
[1m[35mSQL (12.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2211
|
-
[1m[35m (9.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
|
2212
|
-
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2213
|
-
[1m[35m (7.6ms)[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
|
2214
|
-
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2215
|
-
[1m[36mActiveRecord::SchemaMigration Create (2.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200611150212"]]
|
2216
|
-
[1m[35m (3.7ms)[0m [1m[35mCOMMIT[0m
|
2217
|
-
Migrating to RenameTenantIdAndPublic (20201005150212)
|
2218
|
-
[1m[35m (3.2ms)[0m [1m[35mBEGIN[0m
|
2219
|
-
[1m[35m (3.8ms)[0m [1m[35mALTER TABLE "message_bus_subscription_events" RENAME COLUMN "tenant_id" TO "company_uuid"[0m
|
2220
|
-
[1m[35m (2.2ms)[0m [1m[35mALTER TABLE "message_bus_subscription_events" RENAME COLUMN "public_subscription_id" TO "subscription_id"[0m
|
2221
|
-
[1m[36mActiveRecord::SchemaMigration Create (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201005150212"]]
|
2222
|
-
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
2223
|
-
Migrating to CreateActiveStorageTables (20201005164116)
|
2224
|
-
[1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
|
2225
|
-
[1m[36mActiveRecord::SchemaMigration Create (2.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201005164116"]]
|
2226
|
-
[1m[35m (3.1ms)[0m [1m[35mCOMMIT[0m
|
2227
|
-
[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]]
|
2228
|
-
[1m[35m (2.3ms)[0m [1m[35mBEGIN[0m
|
2229
|
-
[1m[36mActiveRecord::InternalMetadata Create (7.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-10-07 20:34:57.122757"], ["updated_at", "2020-10-07 20:34:57.122757"]]
|
2230
|
-
[1m[35m (2.9ms)[0m [1m[35mCOMMIT[0m
|
2231
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT pg_advisory_unlock(3053653019973222135)[0m
|
2232
|
-
[1m[35m (2.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2233
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'[0m
|
2234
|
-
[1m[35m (1.8ms)[0m [1m[35mCREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'[0m
|
2235
|
-
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2236
|
-
[1m[35m (2.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2237
|
-
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2238
|
-
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2239
|
-
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2240
|
-
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2241
|
-
[1m[35mSQL (2.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2242
|
-
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2243
|
-
[1m[35m (7.8ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2244
|
-
[1m[35m (17.2ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2245
|
-
[1m[35m (3.0ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2246
|
-
[1m[35m (2.4ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2247
|
-
[1m[35m (3.8ms)[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
|
2248
|
-
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2249
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2250
|
-
[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]]
|
2251
|
-
[1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
|
2252
|
-
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
2253
|
-
[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]]
|
2254
|
-
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
|
2255
|
-
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
|
2256
|
-
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2257
|
-
[1m[35mSQL (13.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
2258
|
-
[1m[35m (2.4ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE[0m
|
2259
|
-
[1m[35m (17.5ms)[0m [1m[35mCREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)[0m
|
2260
|
-
[1m[35m (2.8ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")[0m
|
2261
|
-
[1m[35m (1.1ms)[0m [1m[35mDROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE[0m
|
2262
|
-
[1m[35m (4.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
|
2263
|
-
[1m[35m (2.8ms)[0m [1m[35mCREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")[0m
|
2264
|
-
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2265
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2266
|
-
[1m[35m (1.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201005164116)[0m
|
2267
|
-
[1m[35m (1.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
2268
|
-
(20200611150212),
|
2269
|
-
(20201005150212);
|
2270
|
-
|
2271
|
-
[0m
|
2272
|
-
[1m[35m (4.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
|
2273
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2274
|
-
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
|
2275
|
-
[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-10-08 19:11:47.210016"], ["updated_at", "2020-10-08 19:11:47.210016"]]
|
2276
|
-
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
2277
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2278
|
-
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
|
2279
|
-
[1m[36mActiveRecord::InternalMetadata Update (1.1ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2020-10-08 19:11:47.218022"], ["key", "environment"]]
|
2280
|
-
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
2281
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|