nulogy_message_bus_producer 3.5.0 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c697390ae3e8ef5704c9cec7f698efc708143254ee61a434a3954c63bb761a4e
4
- data.tar.gz: c9d6cf6b80814090796993e3e82aab04405412fe41d56aa49fd00c54b8a50ffd
3
+ metadata.gz: 42a5548fe112238674907a4b18853f42dcabbda48fb49dd711b824850b468c09
4
+ data.tar.gz: 7a33a695535255230f8ac46c6ddc75a0a343d8936d59f4b72e5d020b3b11b25a
5
5
  SHA512:
6
- metadata.gz: 9f02675c37b6668344f704163531cd46e83aacd3a0e6d2ee6dee85b76182b0b0852f23e0954baac10ae978901b619399776ac38326b39c74b2f4540c59a2fdc3
7
- data.tar.gz: 848f437d8e1dffc475648ff89a684b109a30457ae85f012ffefc98b6643087de3d6b2e6668281bcab83e2de4b8ac2662742825d990866c5c3916b9a38d93b649
6
+ metadata.gz: acf3750d5d987a1ecbec10258ea543095bd65b5a9e878eb7c73cc1e893a12e4ca14d13d3f3de0af97cc6796877f3995c11c9f99675f2b7437e4b91c0903f7de2
7
+ data.tar.gz: bc421953022e2682d89388d5b3ee02b4ee4194d9eba044b8b6ead775ebd166faee40927b2abe393904d26bcaa861eceae464c407a85541f1de5750227f6932e3
data/README.md CHANGED
@@ -133,11 +133,6 @@ module ExampleDomainPublicApi
133
133
  class Schema < GraphQL::Schema
134
134
  use NulogyMessageBusProducer::Subscriptions::PostgresTransport
135
135
 
136
- # You must use the Interpreter, as it will be the new default.
137
- # See more here: https://graphql-ruby.org/queries/interpreter
138
- use GraphQL::Analysis::AST
139
- use GraphQL::Execution::Interpreter
140
-
141
136
  # This prevents subscriptions which contain arguments or expand lists form being registered.
142
137
  # Expanding unbounded lists inside of an event may severely impact the performance of the system.
143
138
  # Arguments are a source of variation that may not be appropriately tested.
@@ -1,3 +1,3 @@
1
1
  module NulogyMessageBusProducer
2
- VERSION = "3.5.0".freeze
2
+ VERSION = "3.6.0".freeze
3
3
  end
@@ -2551,3 +2551,48 @@ Migrating to AddEventTypeToSubscriptionEvents (20210330204121)
2551
2551
   (1.3ms) BEGIN
2552
2552
  NulogyMessageBusProducer::SubscriptionEvent Create (1.3ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at", "event_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "31e9b591-c646-4fcc-bcc6-70afe4aaa05c"], ["subscription_id", "8e8b156e-b4e5-47a7-9f86-e6e876ccaf51"], ["partition_key", "c035daf9-1d15-4515-bbe2-7170a1ed7402"], ["topic_name", "some-topic"], ["company_uuid", "c035daf9-1d15-4515-bbe2-7170a1ed7402"], ["event_json", "{\"field\":\"value\"}"], ["created_at", "2021-03-31 18:21:22.409136"], ["event_type", "some-type"]]
2553
2553
   (1.8ms) COMMIT
2554
+  (2.2ms) CREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'
2555
+  (2.0ms) CREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'
2556
+  (4.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2557
+  (2.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
2558
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2559
+  (1.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
2560
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2561
+  (1.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
2562
+ SQL (3.1ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
2563
+ SQL (1.3ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
2564
+  (11.4ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
2565
+  (22.1ms) CREATE 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)
2566
+  (3.1ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
2567
+  (3.3ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
2568
+  (5.1ms) CREATE 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)
2569
+  (3.0ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
2570
+  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2571
+ ActiveRecord::InternalMetadata Load (1.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
2572
+ ActiveRecord::InternalMetadata Load (1.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
2573
+ ActiveRecord::InternalMetadata Load (2.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
2574
+ TRANSACTION (1.6ms) BEGIN
2575
+ ActiveRecord::InternalMetadata Create (1.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "2d5bee88577a387c3beb2618b50260b1d5b2a437"], ["created_at", "2021-04-20 19:55:36.994839"], ["updated_at", "2021-04-20 19:55:36.994839"]]
2576
+ TRANSACTION (1.8ms) COMMIT
2577
+ SQL (2.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
2578
+ SQL (1.6ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
2579
+  (11.1ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
2580
+  (18.9ms) CREATE 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)
2581
+  (3.8ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
2582
+  (3.6ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
2583
+  (6.1ms) CREATE 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)
2584
+  (3.6ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
2585
+  (2.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2586
+ ActiveRecord::InternalMetadata Load (2.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
2587
+ TRANSACTION (1.2ms) BEGIN
2588
+ ActiveRecord::InternalMetadata Update (1.5ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "development"], ["updated_at", "2021-04-20 19:55:37.116933"], ["key", "environment"]]
2589
+ TRANSACTION (1.7ms) COMMIT
2590
+ ActiveRecord::InternalMetadata Load (1.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
2591
+ TRANSACTION (1.0ms) BEGIN
2592
+ ActiveRecord::InternalMetadata Update (1.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2021-04-20 19:55:37.129052"], ["key", "environment"]]
2593
+ TRANSACTION (1.8ms) COMMIT
2594
+ ActiveRecord::InternalMetadata Load (1.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
2595
+ TRANSACTION (1.2ms) BEGIN
2596
+ ActiveRecord::InternalMetadata Create (1.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "2d5bee88577a387c3beb2618b50260b1d5b2a437"], ["created_at", "2021-04-20 19:55:37.139478"], ["updated_at", "2021-04-20 19:55:37.139478"]]
2597
+ TRANSACTION (1.6ms) COMMIT
2598
+  (3.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
@@ -48858,3 +48858,1374 @@ COMMIT;
48858
48858
  TRANSACTION (2.0ms) BEGIN
48859
48859
  NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
48860
48860
  TRANSACTION (1.1ms) ROLLBACK
48861
+ TRANSACTION (1.8ms) BEGIN
48862
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ab20c67e-b7ea-4d68-879d-3a0290119d7a"], ["LIMIT", 1]]
48863
+ TRANSACTION (2.1ms) SAVEPOINT active_record_1
48864
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "ab20c67e-b7ea-4d68-879d-3a0290119d7a"], ["subscription_group_id", "1ec87c04-65dc-44c8-8ca5-120f85dde31e"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"ab20c67e-b7ea-4d68-879d-3a0290119d7a\",\n subscriptionGroupId: \"1ec87c04-65dc-44c8-8ca5-120f85dde31e\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.473372"], ["updated_at", "2021-04-20 19:55:26.473372"]]
48865
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
48866
+ TRANSACTION (1.3ms) ROLLBACK
48867
+ TRANSACTION (1.7ms) BEGIN
48868
+  (3.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48869
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e494ffc7-2f7d-43d9-bb94-ae0ae744476b"], ["LIMIT", 1]]
48870
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
48871
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "e494ffc7-2f7d-43d9-bb94-ae0ae744476b"], ["subscription_group_id", "5b587b58-90a7-46c2-b90e-95ef35ffe8f7"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"e494ffc7-2f7d-43d9-bb94-ae0ae744476b\",\n subscriptionGroupId: \"5b587b58-90a7-46c2-b90e-95ef35ffe8f7\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.553966"], ["updated_at", "2021-04-20 19:55:26.553966"]]
48872
+ TRANSACTION (2.6ms) RELEASE SAVEPOINT active_record_1
48873
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48874
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e494ffc7-2f7d-43d9-bb94-ae0ae744476b"], ["LIMIT", 1]]
48875
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
48876
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.8ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"e494ffc7-2f7d-43d9-bb94-ae0ae744476b\",\n subscriptionGroupId: \"5b587b58-90a7-46c2-b90e-95ef35ffe8f7\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-20 19:55:26.568027"], ["id", "e494ffc7-2f7d-43d9-bb94-ae0ae744476b"]]
48877
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
48878
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
48879
+ TRANSACTION (1.6ms) ROLLBACK
48880
+ TRANSACTION (1.6ms) BEGIN
48881
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48882
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "60e71d28-7d04-41f7-8194-35d2b2085766"], ["LIMIT", 1]]
48883
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
48884
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "60e71d28-7d04-41f7-8194-35d2b2085766"], ["subscription_group_id", "8902345e-266b-4f16-a6aa-e2e3fde0bde4"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"60e71d28-7d04-41f7-8194-35d2b2085766\",\n subscriptionGroupId: \"8902345e-266b-4f16-a6aa-e2e3fde0bde4\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.592452"], ["updated_at", "2021-04-20 19:55:26.592452"]]
48885
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
48886
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48887
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "60e71d28-7d04-41f7-8194-35d2b2085766"], ["LIMIT", 1]]
48888
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
48889
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.2ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"60e71d28-7d04-41f7-8194-35d2b2085766\",\n subscriptionGroupId: \"8902345e-266b-4f16-a6aa-e2e3fde0bde4\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-20 19:55:26.601477"], ["id", "60e71d28-7d04-41f7-8194-35d2b2085766"]]
48890
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
48891
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
48892
+ TRANSACTION (1.2ms) ROLLBACK
48893
+ TRANSACTION (1.5ms) BEGIN
48894
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48895
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b92338b0-659a-4c19-b916-076c16210c2b"], ["LIMIT", 1]]
48896
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
48897
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "b92338b0-659a-4c19-b916-076c16210c2b"], ["subscription_group_id", "eb477de4-0823-4b5d-a12f-fb5a69e0676c"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b92338b0-659a-4c19-b916-076c16210c2b\",\n subscriptionGroupId: \"eb477de4-0823-4b5d-a12f-fb5a69e0676c\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.619702"], ["updated_at", "2021-04-20 19:55:26.619702"]]
48898
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
48899
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48900
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b92338b0-659a-4c19-b916-076c16210c2b"], ["LIMIT", 1]]
48901
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
48902
+ TRANSACTION (1.1ms) ROLLBACK
48903
+ TRANSACTION (1.3ms) BEGIN
48904
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48905
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0317b3ca-cb23-4f8e-9735-a81619bf0fab"], ["LIMIT", 1]]
48906
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
48907
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "0317b3ca-cb23-4f8e-9735-a81619bf0fab"], ["subscription_group_id", "f8e40f54-782a-4edc-a3e7-2737be9685c1"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0317b3ca-cb23-4f8e-9735-a81619bf0fab\",\n subscriptionGroupId: \"f8e40f54-782a-4edc-a3e7-2737be9685c1\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.748384"], ["updated_at", "2021-04-20 19:55:26.748384"]]
48908
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
48909
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48910
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0317b3ca-cb23-4f8e-9735-a81619bf0fab"], ["LIMIT", 1]]
48911
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
48912
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.4ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-20 19:55:26.757902"], ["id", "0317b3ca-cb23-4f8e-9735-a81619bf0fab"]]
48913
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
48914
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
48915
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0317b3ca-cb23-4f8e-9735-a81619bf0fab"], ["LIMIT", 1]]
48916
+ TRANSACTION (2.0ms) ROLLBACK
48917
+ TRANSACTION (1.2ms) BEGIN
48918
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48919
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8b723d04-4b9c-4379-8219-bf4e7c714f04"], ["LIMIT", 1]]
48920
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
48921
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "8b723d04-4b9c-4379-8219-bf4e7c714f04"], ["subscription_group_id", "2f95bb0c-f227-4e6d-99fb-b0d8d92f7680"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"8b723d04-4b9c-4379-8219-bf4e7c714f04\",\n subscriptionGroupId: \"2f95bb0c-f227-4e6d-99fb-b0d8d92f7680\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.783162"], ["updated_at", "2021-04-20 19:55:26.783162"]]
48922
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
48923
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48924
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8b723d04-4b9c-4379-8219-bf4e7c714f04"], ["LIMIT", 1]]
48925
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
48926
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.5ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-20 19:55:26.790988"], ["id", "8b723d04-4b9c-4379-8219-bf4e7c714f04"]]
48927
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
48928
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
48929
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8b723d04-4b9c-4379-8219-bf4e7c714f04"], ["LIMIT", 1]]
48930
+ TRANSACTION (1.3ms) ROLLBACK
48931
+ TRANSACTION (1.1ms) BEGIN
48932
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48933
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "43f97646-07e3-44ad-9031-4c5d1ac5123b"], ["LIMIT", 1]]
48934
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
48935
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "43f97646-07e3-44ad-9031-4c5d1ac5123b"], ["subscription_group_id", "a3c74e08-3b7f-4f9f-986e-9ff85ba55a2f"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"43f97646-07e3-44ad-9031-4c5d1ac5123b\",\n subscriptionGroupId: \"a3c74e08-3b7f-4f9f-986e-9ff85ba55a2f\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.812054"], ["updated_at", "2021-04-20 19:55:26.812054"]]
48936
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
48937
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48938
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "43f97646-07e3-44ad-9031-4c5d1ac5123b"], ["LIMIT", 1]]
48939
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
48940
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.3ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-20 19:55:26.820180"], ["id", "43f97646-07e3-44ad-9031-4c5d1ac5123b"]]
48941
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
48942
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
48943
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "43f97646-07e3-44ad-9031-4c5d1ac5123b"], ["LIMIT", 1]]
48944
+ TRANSACTION (1.3ms) ROLLBACK
48945
+ TRANSACTION (1.2ms) BEGIN
48946
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48947
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d389a2a7-aa95-42dc-bcf4-afc66e2481b7"], ["LIMIT", 1]]
48948
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
48949
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "d389a2a7-aa95-42dc-bcf4-afc66e2481b7"], ["subscription_group_id", "1b73dd87-545b-4c19-8eef-d8e923cfa1f5"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d389a2a7-aa95-42dc-bcf4-afc66e2481b7\",\n subscriptionGroupId: \"1b73dd87-545b-4c19-8eef-d8e923cfa1f5\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.842033"], ["updated_at", "2021-04-20 19:55:26.842033"]]
48950
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
48951
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48952
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d389a2a7-aa95-42dc-bcf4-afc66e2481b7"], ["LIMIT", 1]]
48953
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48954
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ad86be80-89c4-4d1a-a0ea-5bd8bb51ceb9"], ["LIMIT", 1]]
48955
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
48956
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "ad86be80-89c4-4d1a-a0ea-5bd8bb51ceb9"], ["subscription_group_id", "bbe66bb0-f611-4916-ad51-a7ecbbd9c594"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ad86be80-89c4-4d1a-a0ea-5bd8bb51ceb9\",\n subscriptionGroupId: \"bbe66bb0-f611-4916-ad51-a7ecbbd9c594\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.856334"], ["updated_at", "2021-04-20 19:55:26.856334"]]
48957
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
48958
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48959
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ad86be80-89c4-4d1a-a0ea-5bd8bb51ceb9"], ["LIMIT", 1]]
48960
+  (3.8ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
48961
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
48962
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d389a2a7-aa95-42dc-bcf4-afc66e2481b7"], ["LIMIT", 1]]
48963
+ NulogyMessageBusProducer::SelfServeSubscription Load (0.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d389a2a7-aa95-42dc-bcf4-afc66e2481b7"], ["LIMIT", 1]]
48964
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "5212f73f-8d7d-4b3c-9b34-fd3e7867a5cf"], ["LIMIT", 1]]
48965
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
48966
+ NulogyMessageBusProducer::SubscriptionEvent Create (3.3ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "5212f73f-8d7d-4b3c-9b34-fd3e7867a5cf"], ["subscription_id", "d389a2a7-aa95-42dc-bcf4-afc66e2481b7"], ["partition_key", "1b73dd87-545b-4c19-8eef-d8e923cfa1f5,4d3b65b1-0c75-4d1b-a7a3-4fc4104c106d"], ["topic_name", "some_topic"], ["company_uuid", "4d3b65b1-0c75-4d1b-a7a3-4fc4104c106d"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 19:55:26.890535"]]
48967
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
48968
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ad86be80-89c4-4d1a-a0ea-5bd8bb51ceb9"], ["LIMIT", 1]]
48969
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ad86be80-89c4-4d1a-a0ea-5bd8bb51ceb9"], ["LIMIT", 1]]
48970
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.8ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "5303fedd-945c-4244-a3fd-62df33fed918"], ["LIMIT", 1]]
48971
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
48972
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.8ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "5303fedd-945c-4244-a3fd-62df33fed918"], ["subscription_id", "ad86be80-89c4-4d1a-a0ea-5bd8bb51ceb9"], ["partition_key", "bbe66bb0-f611-4916-ad51-a7ecbbd9c594,4d3b65b1-0c75-4d1b-a7a3-4fc4104c106d"], ["topic_name", "some_topic"], ["company_uuid", "4d3b65b1-0c75-4d1b-a7a3-4fc4104c106d"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 19:55:26.904921"]]
48973
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
48974
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
48975
+  (1.6ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
48976
+ TRANSACTION (1.4ms) ROLLBACK
48977
+ TRANSACTION (1.3ms) BEGIN
48978
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48979
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0eaa8f10-d98d-413b-8715-1b345baf0f36"], ["LIMIT", 1]]
48980
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
48981
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.1ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "0eaa8f10-d98d-413b-8715-1b345baf0f36"], ["subscription_group_id", "66d9b5db-1c67-4328-b793-31576890303d"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0eaa8f10-d98d-413b-8715-1b345baf0f36\",\n subscriptionGroupId: \"66d9b5db-1c67-4328-b793-31576890303d\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.929916"], ["updated_at", "2021-04-20 19:55:26.929916"]]
48982
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
48983
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48984
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0eaa8f10-d98d-413b-8715-1b345baf0f36"], ["LIMIT", 1]]
48985
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
48986
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0eaa8f10-d98d-413b-8715-1b345baf0f36"], ["LIMIT", 1]]
48987
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0eaa8f10-d98d-413b-8715-1b345baf0f36"], ["LIMIT", 1]]
48988
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "d060e832-d4f0-4050-aade-4a3a1cab6487"], ["LIMIT", 1]]
48989
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
48990
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.5ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "d060e832-d4f0-4050-aade-4a3a1cab6487"], ["subscription_id", "0eaa8f10-d98d-413b-8715-1b345baf0f36"], ["partition_key", "66d9b5db-1c67-4328-b793-31576890303d,ac0fb13e-3978-450d-a91f-5a6994855c9b"], ["topic_name", "some_topic"], ["company_uuid", "ac0fb13e-3978-450d-a91f-5a6994855c9b"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 19:55:26.950316"]]
48991
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
48992
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "0eaa8f10-d98d-413b-8715-1b345baf0f36"], ["LIMIT", 1]]
48993
+ TRANSACTION (1.9ms) ROLLBACK
48994
+ TRANSACTION (1.8ms) BEGIN
48995
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
48996
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b98094ec-4c5e-434d-95db-7190635b3b92"], ["LIMIT", 1]]
48997
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
48998
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "b98094ec-4c5e-434d-95db-7190635b3b92"], ["subscription_group_id", "c1862276-cd0f-46a8-96a7-0d9cb56ecab9"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b98094ec-4c5e-434d-95db-7190635b3b92\",\n subscriptionGroupId: \"c1862276-cd0f-46a8-96a7-0d9cb56ecab9\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:26.979092"], ["updated_at", "2021-04-20 19:55:26.979092"]]
48999
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49000
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49001
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b98094ec-4c5e-434d-95db-7190635b3b92"], ["LIMIT", 1]]
49002
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49003
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b98094ec-4c5e-434d-95db-7190635b3b92"], ["LIMIT", 1]]
49004
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b98094ec-4c5e-434d-95db-7190635b3b92"], ["LIMIT", 1]]
49005
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "3392f6ef-b51f-467f-b3d4-f2ccab0b4bf8"], ["LIMIT", 1]]
49006
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49007
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.5ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "3392f6ef-b51f-467f-b3d4-f2ccab0b4bf8"], ["subscription_id", "b98094ec-4c5e-434d-95db-7190635b3b92"], ["partition_key", "c1862276-cd0f-46a8-96a7-0d9cb56ecab9,45e83279-4031-4122-851a-2c29d94df615"], ["topic_name", "some_topic"], ["company_uuid", "45e83279-4031-4122-851a-2c29d94df615"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2021-04-20 19:55:26.994999"]]
49008
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49009
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "b98094ec-4c5e-434d-95db-7190635b3b92"], ["LIMIT", 1]]
49010
+ TRANSACTION (1.4ms) ROLLBACK
49011
+ TRANSACTION (1.6ms) BEGIN
49012
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49013
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fb6ae884-0e37-4809-81e2-77a3abda1ae1"], ["LIMIT", 1]]
49014
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49015
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "fb6ae884-0e37-4809-81e2-77a3abda1ae1"], ["subscription_group_id", "7b83d8ee-44a7-4613-8ed0-2c518836e635"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"fb6ae884-0e37-4809-81e2-77a3abda1ae1\",\n subscriptionGroupId: \"7b83d8ee-44a7-4613-8ed0-2c518836e635\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:27.016554"], ["updated_at", "2021-04-20 19:55:27.016554"]]
49016
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49017
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49018
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fb6ae884-0e37-4809-81e2-77a3abda1ae1"], ["LIMIT", 1]]
49019
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49020
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49021
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "4a7943bc-ab70-49e1-8df0-7e3c63993669"], ["LIMIT", 1]]
49022
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49023
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.3ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "4a7943bc-ab70-49e1-8df0-7e3c63993669"], ["subscription_id", "e5e70932-6050-44d9-aa5e-1fdae8d6ee51"], ["partition_key", "96bb40e9-19f3-4c77-bc55-dc7322d1a7ad,5bf8abd6-6983-4aaa-bd12-f3569c6bc3c5"], ["topic_name", "configured_topic"], ["company_uuid", "5bf8abd6-6983-4aaa-bd12-f3569c6bc3c5"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 19:55:27.033908"]]
49024
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49025
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fb6ae884-0e37-4809-81e2-77a3abda1ae1"], ["LIMIT", 1]]
49026
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fb6ae884-0e37-4809-81e2-77a3abda1ae1"], ["LIMIT", 1]]
49027
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "6c0f4e49-db26-41cb-a1d2-b80551e2488c"], ["LIMIT", 1]]
49028
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49029
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.2ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "6c0f4e49-db26-41cb-a1d2-b80551e2488c"], ["subscription_id", "fb6ae884-0e37-4809-81e2-77a3abda1ae1"], ["partition_key", "7b83d8ee-44a7-4613-8ed0-2c518836e635,5bf8abd6-6983-4aaa-bd12-f3569c6bc3c5"], ["topic_name", "self_serve_topic"], ["company_uuid", "5bf8abd6-6983-4aaa-bd12-f3569c6bc3c5"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 19:55:27.045022"]]
49030
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49031
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49032
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.1ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "fb6ae884-0e37-4809-81e2-77a3abda1ae1"], ["LIMIT", 1]]
49033
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "e5e70932-6050-44d9-aa5e-1fdae8d6ee51"], ["LIMIT", 1]]
49034
+ TRANSACTION (1.3ms) ROLLBACK
49035
+ TRANSACTION (1.2ms) BEGIN
49036
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49037
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0bf9a6bc-a018-4192-8e96-eef6d2ec662f"], ["LIMIT", 1]]
49038
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49039
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "0bf9a6bc-a018-4192-8e96-eef6d2ec662f"], ["subscription_group_id", "c31861b7-3b3a-4521-8fc4-3e7ee1fd9fca"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0bf9a6bc-a018-4192-8e96-eef6d2ec662f\",\n subscriptionGroupId: \"c31861b7-3b3a-4521-8fc4-3e7ee1fd9fca\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:27.066710"], ["updated_at", "2021-04-20 19:55:27.066710"]]
49040
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49041
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49042
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0bf9a6bc-a018-4192-8e96-eef6d2ec662f"], ["LIMIT", 1]]
49043
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49044
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49045
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.6ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "e64e8e01-bc30-48fe-bc1e-b306452c8b6e"], ["LIMIT", 1]]
49046
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49047
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.4ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "e64e8e01-bc30-48fe-bc1e-b306452c8b6e"], ["subscription_id", "0bf9a6bc-a018-4192-8e96-eef6d2ec662f"], ["partition_key", "7b54b11f-4dbc-42b5-9f73-ff6dc6819740,585dbb1b-ec17-40eb-859d-9c865a711494"], ["topic_name", "configured_topic"], ["company_uuid", "585dbb1b-ec17-40eb-859d-9c865a711494"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 19:55:27.084523"]]
49048
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49049
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49050
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "0bf9a6bc-a018-4192-8e96-eef6d2ec662f"], ["LIMIT", 1]]
49051
+ TRANSACTION (1.4ms) ROLLBACK
49052
+ TRANSACTION (1.8ms) BEGIN
49053
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49054
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "03e1b047-fb8b-47d6-916c-086b104f61a8"], ["LIMIT", 1]]
49055
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
49056
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.7ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "03e1b047-fb8b-47d6-916c-086b104f61a8"], ["subscription_id", "6fbb4ebf-a18d-4606-9260-545c647aa63a"], ["partition_key", "8717efc8-9b36-4254-b3c2-e466a3c6c3f3,c3487f2d-0eb4-4885-9c15-076a224187cf"], ["topic_name", "some_topic"], ["company_uuid", "c3487f2d-0eb4-4885-9c15-076a224187cf"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 19:55:27.105938"]]
49057
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
49058
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.7ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "6fbb4ebf-a18d-4606-9260-545c647aa63a"], ["LIMIT", 1]]
49059
+ TRANSACTION (1.6ms) ROLLBACK
49060
+ TRANSACTION (1.8ms) BEGIN
49061
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49062
+ TRANSACTION (1.3ms) ROLLBACK
49063
+ TRANSACTION (1.7ms) BEGIN
49064
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49065
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "77cb30fa-4f6c-44a3-8c69-15e968d6ad39"], ["LIMIT", 1]]
49066
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49067
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "77cb30fa-4f6c-44a3-8c69-15e968d6ad39"], ["subscription_group_id", "0b1879cf-3b4f-4d67-986a-ed7119a6a519"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"77cb30fa-4f6c-44a3-8c69-15e968d6ad39\",\n subscriptionGroupId: \"0b1879cf-3b4f-4d67-986a-ed7119a6a519\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:27.162898"], ["updated_at", "2021-04-20 19:55:27.162898"]]
49068
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49069
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49070
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "77cb30fa-4f6c-44a3-8c69-15e968d6ad39"], ["LIMIT", 1]]
49071
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49072
+ TRANSACTION (1.5ms) ROLLBACK
49073
+ TRANSACTION (1.6ms) BEGIN
49074
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49075
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fe22af43-e742-4cfb-a45d-0404f6515a7c"], ["LIMIT", 1]]
49076
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49077
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.0ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "fe22af43-e742-4cfb-a45d-0404f6515a7c"], ["subscription_group_id", "c578e248-0b4c-49da-9ef6-b513fb85585d"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"fe22af43-e742-4cfb-a45d-0404f6515a7c\",\n subscriptionGroupId: \"c578e248-0b4c-49da-9ef6-b513fb85585d\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:27.187572"], ["updated_at", "2021-04-20 19:55:27.187572"]]
49078
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
49079
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49080
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fe22af43-e742-4cfb-a45d-0404f6515a7c"], ["LIMIT", 1]]
49081
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49082
+ TRANSACTION (1.4ms) ROLLBACK
49083
+ TRANSACTION (1.3ms) BEGIN
49084
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49085
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "630ae39d-5c2b-4bfd-bee0-b91b2f6d50d6"], ["LIMIT", 1]]
49086
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49087
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "630ae39d-5c2b-4bfd-bee0-b91b2f6d50d6"], ["subscription_group_id", "1f5bd30d-5e2c-40a7-82e7-86fd0bea0613"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"630ae39d-5c2b-4bfd-bee0-b91b2f6d50d6\",\n subscriptionGroupId: \"1f5bd30d-5e2c-40a7-82e7-86fd0bea0613\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:27.212403"], ["updated_at", "2021-04-20 19:55:27.212403"]]
49088
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49089
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49090
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "630ae39d-5c2b-4bfd-bee0-b91b2f6d50d6"], ["LIMIT", 1]]
49091
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49092
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "132f7850-9ffa-40f9-9b40-ceca676438eb"], ["LIMIT", 1]]
49093
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49094
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "132f7850-9ffa-40f9-9b40-ceca676438eb"], ["subscription_group_id", "3100ddb6-c524-416c-939b-6a05bcdebd2d"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"132f7850-9ffa-40f9-9b40-ceca676438eb\",\n subscriptionGroupId: \"3100ddb6-c524-416c-939b-6a05bcdebd2d\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:27.226290"], ["updated_at", "2021-04-20 19:55:27.226290"]]
49095
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49096
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49097
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "132f7850-9ffa-40f9-9b40-ceca676438eb"], ["LIMIT", 1]]
49098
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49099
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ada99402-c47b-4a8b-8546-8cc0e05b21d0"], ["LIMIT", 1]]
49100
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49101
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "ada99402-c47b-4a8b-8546-8cc0e05b21d0"], ["subscription_group_id", "9cb22595-61f7-4bea-ad10-11e1edd0f1f1"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"ada99402-c47b-4a8b-8546-8cc0e05b21d0\",\n subscriptionGroupId: \"9cb22595-61f7-4bea-ad10-11e1edd0f1f1\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 19:55:27.241674"], ["updated_at", "2021-04-20 19:55:27.241674"]]
49102
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49103
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49104
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ada99402-c47b-4a8b-8546-8cc0e05b21d0"], ["LIMIT", 1]]
49105
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49106
+ TRANSACTION (1.3ms) ROLLBACK
49107
+ TRANSACTION (1.2ms) BEGIN
49108
+  (6.9ms) TRUNCATE message_bus_subscription_events
49109
+  (4.6ms) TRUNCATE schema_migrations
49110
+  (4.7ms) TRUNCATE ar_internal_metadata
49111
+  (5.9ms) TRUNCATE message_bus_subscriptions
49112
+  (5.9ms) TRUNCATE message_bus_subscription_events
49113
+  (6.0ms) TRUNCATE message_bus_subscriptions
49114
+ TRANSACTION (3.9ms) ROLLBACK
49115
+ TRANSACTION (1.1ms) BEGIN
49116
+  (7.0ms) TRUNCATE message_bus_subscription_events
49117
+  (4.7ms) TRUNCATE schema_migrations
49118
+  (4.2ms) TRUNCATE ar_internal_metadata
49119
+  (6.1ms) TRUNCATE message_bus_subscriptions
49120
+  (5.6ms) TRUNCATE message_bus_subscription_events
49121
+  (6.7ms) TRUNCATE message_bus_subscriptions
49122
+ TRANSACTION (3.4ms) ROLLBACK
49123
+ TRANSACTION (1.5ms) BEGIN
49124
+ TRANSACTION (2.1ms) ROLLBACK
49125
+ TRANSACTION (1.3ms) BEGIN
49126
+  (6.8ms) TRUNCATE message_bus_subscription_events
49127
+  (4.5ms) TRUNCATE schema_migrations
49128
+  (4.6ms) TRUNCATE ar_internal_metadata
49129
+  (6.4ms) TRUNCATE message_bus_subscriptions
49130
+  (5.5ms) TRUNCATE message_bus_subscription_events
49131
+  (5.8ms) TRUNCATE message_bus_subscriptions
49132
+ TRANSACTION (3.9ms) ROLLBACK
49133
+ TRANSACTION (1.4ms) BEGIN
49134
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "89ce74f8-da4a-4cec-a4c5-ae029bfe907c"], ["LIMIT", 1]]
49135
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
49136
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.1ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "89ce74f8-da4a-4cec-a4c5-ae029bfe907c"], ["subscription_group_id", "ea94d06a-aceb-4123-b578-b7609f606c41"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"89ce74f8-da4a-4cec-a4c5-ae029bfe907c\",\n subscriptionGroupId: \"ea94d06a-aceb-4123-b578-b7609f606c41\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.649724"], ["updated_at", "2021-04-20 20:14:07.649724"]]
49137
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
49138
+ TRANSACTION (1.3ms) ROLLBACK
49139
+ TRANSACTION (2.2ms) BEGIN
49140
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49141
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8999c955-1f38-4e45-a2bf-826a088e7f8d"], ["LIMIT", 1]]
49142
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
49143
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.0ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "8999c955-1f38-4e45-a2bf-826a088e7f8d"], ["subscription_group_id", "c3830070-4b85-49f7-a91b-3859a62edf25"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"8999c955-1f38-4e45-a2bf-826a088e7f8d\",\n subscriptionGroupId: \"c3830070-4b85-49f7-a91b-3859a62edf25\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.697780"], ["updated_at", "2021-04-20 20:14:07.697780"]]
49144
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
49145
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49146
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8999c955-1f38-4e45-a2bf-826a088e7f8d"], ["LIMIT", 1]]
49147
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
49148
+ TRANSACTION (1.1ms) ROLLBACK
49149
+ TRANSACTION (1.3ms) BEGIN
49150
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49151
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c79eb0fe-fe3d-4b78-a90a-272f774a5f31"], ["LIMIT", 1]]
49152
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49153
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "c79eb0fe-fe3d-4b78-a90a-272f774a5f31"], ["subscription_group_id", "469ba610-eb03-4465-bdff-e3110d577c01"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c79eb0fe-fe3d-4b78-a90a-272f774a5f31\",\n subscriptionGroupId: \"469ba610-eb03-4465-bdff-e3110d577c01\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.726128"], ["updated_at", "2021-04-20 20:14:07.726128"]]
49154
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49155
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49156
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c79eb0fe-fe3d-4b78-a90a-272f774a5f31"], ["LIMIT", 1]]
49157
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49158
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.3ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"c79eb0fe-fe3d-4b78-a90a-272f774a5f31\",\n subscriptionGroupId: \"469ba610-eb03-4465-bdff-e3110d577c01\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-20 20:14:07.733624"], ["id", "c79eb0fe-fe3d-4b78-a90a-272f774a5f31"]]
49159
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49160
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
49161
+ TRANSACTION (1.1ms) ROLLBACK
49162
+ TRANSACTION (0.9ms) BEGIN
49163
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49164
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b8ed7e68-b974-4886-985f-b4bed671011d"], ["LIMIT", 1]]
49165
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49166
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "b8ed7e68-b974-4886-985f-b4bed671011d"], ["subscription_group_id", "5b622f52-b406-4518-b004-9198fb3dd61c"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b8ed7e68-b974-4886-985f-b4bed671011d\",\n subscriptionGroupId: \"5b622f52-b406-4518-b004-9198fb3dd61c\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.750880"], ["updated_at", "2021-04-20 20:14:07.750880"]]
49167
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49168
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49169
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b8ed7e68-b974-4886-985f-b4bed671011d"], ["LIMIT", 1]]
49170
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
49171
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.2ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"b8ed7e68-b974-4886-985f-b4bed671011d\",\n subscriptionGroupId: \"5b622f52-b406-4518-b004-9198fb3dd61c\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-20 20:14:07.758620"], ["id", "b8ed7e68-b974-4886-985f-b4bed671011d"]]
49172
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49173
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
49174
+ TRANSACTION (0.9ms) ROLLBACK
49175
+ TRANSACTION (1.0ms) BEGIN
49176
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49177
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "36343f45-0c5e-4619-92b6-4bdd4d266be8"], ["LIMIT", 1]]
49178
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49179
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "36343f45-0c5e-4619-92b6-4bdd4d266be8"], ["subscription_group_id", "6dc20240-2e0a-4b8e-ab96-58ec1fe0837c"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"36343f45-0c5e-4619-92b6-4bdd4d266be8\",\n subscriptionGroupId: \"6dc20240-2e0a-4b8e-ab96-58ec1fe0837c\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.798347"], ["updated_at", "2021-04-20 20:14:07.798347"]]
49180
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49181
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49182
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "36343f45-0c5e-4619-92b6-4bdd4d266be8"], ["LIMIT", 1]]
49183
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49184
+ TRANSACTION (1.3ms) ROLLBACK
49185
+ TRANSACTION (0.9ms) BEGIN
49186
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49187
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "229ea239-4751-4642-88e4-10ba37bd3659"], ["LIMIT", 1]]
49188
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49189
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.2ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "229ea239-4751-4642-88e4-10ba37bd3659"], ["subscription_group_id", "faf8a7ed-bd5a-4cb0-aaea-b28c841c44f1"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"229ea239-4751-4642-88e4-10ba37bd3659\",\n subscriptionGroupId: \"faf8a7ed-bd5a-4cb0-aaea-b28c841c44f1\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.822679"], ["updated_at", "2021-04-20 20:14:07.822679"]]
49190
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49191
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49192
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "229ea239-4751-4642-88e4-10ba37bd3659"], ["LIMIT", 1]]
49193
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49194
+ TRANSACTION (1.6ms) ROLLBACK
49195
+ TRANSACTION (1.3ms) BEGIN
49196
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49197
+ TRANSACTION (1.1ms) ROLLBACK
49198
+ TRANSACTION (1.5ms) BEGIN
49199
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49200
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b0c30c6a-5508-4f08-8898-0906f6ccd14e"], ["LIMIT", 1]]
49201
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49202
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.2ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "b0c30c6a-5508-4f08-8898-0906f6ccd14e"], ["subscription_group_id", "bc1990ee-2b6d-4c3b-b7a3-e3ceca827039"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b0c30c6a-5508-4f08-8898-0906f6ccd14e\",\n subscriptionGroupId: \"bc1990ee-2b6d-4c3b-b7a3-e3ceca827039\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.858996"], ["updated_at", "2021-04-20 20:14:07.858996"]]
49203
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49204
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49205
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b0c30c6a-5508-4f08-8898-0906f6ccd14e"], ["LIMIT", 1]]
49206
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49207
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a420b609-25e0-4cd9-b951-7357094a4953"], ["LIMIT", 1]]
49208
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49209
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "a420b609-25e0-4cd9-b951-7357094a4953"], ["subscription_group_id", "1bc60c35-0a33-417c-85d3-158812743879"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"a420b609-25e0-4cd9-b951-7357094a4953\",\n subscriptionGroupId: \"1bc60c35-0a33-417c-85d3-158812743879\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.873483"], ["updated_at", "2021-04-20 20:14:07.873483"]]
49210
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49211
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49212
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a420b609-25e0-4cd9-b951-7357094a4953"], ["LIMIT", 1]]
49213
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49214
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "608cbec3-e5c5-4661-9014-10519c5958fe"], ["LIMIT", 1]]
49215
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49216
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "608cbec3-e5c5-4661-9014-10519c5958fe"], ["subscription_group_id", "9ed9280a-7bdf-4de4-977b-90b62b5b4b0b"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"608cbec3-e5c5-4661-9014-10519c5958fe\",\n subscriptionGroupId: \"9ed9280a-7bdf-4de4-977b-90b62b5b4b0b\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.887934"], ["updated_at", "2021-04-20 20:14:07.887934"]]
49217
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49218
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49219
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "608cbec3-e5c5-4661-9014-10519c5958fe"], ["LIMIT", 1]]
49220
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49221
+ TRANSACTION (1.2ms) ROLLBACK
49222
+ TRANSACTION (1.8ms) BEGIN
49223
+  (4.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49224
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ddbc8ef0-3325-47f7-8ee1-9cf5f6978bb4"], ["LIMIT", 1]]
49225
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
49226
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.8ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "ddbc8ef0-3325-47f7-8ee1-9cf5f6978bb4"], ["subscription_group_id", "f324c749-6179-4711-9941-6faf23483ed1"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ddbc8ef0-3325-47f7-8ee1-9cf5f6978bb4\",\n subscriptionGroupId: \"f324c749-6179-4711-9941-6faf23483ed1\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:07.944143"], ["updated_at", "2021-04-20 20:14:07.944143"]]
49227
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49228
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49229
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ddbc8ef0-3325-47f7-8ee1-9cf5f6978bb4"], ["LIMIT", 1]]
49230
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
49231
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.2ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-20 20:14:07.966816"], ["id", "ddbc8ef0-3325-47f7-8ee1-9cf5f6978bb4"]]
49232
+ TRANSACTION (0.9ms) RELEASE SAVEPOINT active_record_1
49233
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49234
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ddbc8ef0-3325-47f7-8ee1-9cf5f6978bb4"], ["LIMIT", 1]]
49235
+ TRANSACTION (1.8ms) ROLLBACK
49236
+ TRANSACTION (1.0ms) BEGIN
49237
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49238
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "be4debe5-a350-4fbe-a582-15221077b9c5"], ["LIMIT", 1]]
49239
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49240
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "be4debe5-a350-4fbe-a582-15221077b9c5"], ["subscription_group_id", "e4ef65f3-085b-4d6b-8b1c-a96ad34d578c"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"be4debe5-a350-4fbe-a582-15221077b9c5\",\n subscriptionGroupId: \"e4ef65f3-085b-4d6b-8b1c-a96ad34d578c\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:08.036659"], ["updated_at", "2021-04-20 20:14:08.036659"]]
49241
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49242
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49243
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "be4debe5-a350-4fbe-a582-15221077b9c5"], ["LIMIT", 1]]
49244
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49245
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.2ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-20 20:14:08.045307"], ["id", "be4debe5-a350-4fbe-a582-15221077b9c5"]]
49246
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49247
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49248
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "be4debe5-a350-4fbe-a582-15221077b9c5"], ["LIMIT", 1]]
49249
+ TRANSACTION (1.3ms) ROLLBACK
49250
+ TRANSACTION (1.2ms) BEGIN
49251
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49252
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1b7048cd-6f6d-4b83-a6cb-bceb81707846"], ["LIMIT", 1]]
49253
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49254
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "1b7048cd-6f6d-4b83-a6cb-bceb81707846"], ["subscription_group_id", "658fbea7-3101-4592-827a-fe7bf959d7d9"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1b7048cd-6f6d-4b83-a6cb-bceb81707846\",\n subscriptionGroupId: \"658fbea7-3101-4592-827a-fe7bf959d7d9\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:08.064193"], ["updated_at", "2021-04-20 20:14:08.064193"]]
49255
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49256
+  (7.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49257
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1b7048cd-6f6d-4b83-a6cb-bceb81707846"], ["LIMIT", 1]]
49258
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49259
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.5ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-20 20:14:08.078966"], ["id", "1b7048cd-6f6d-4b83-a6cb-bceb81707846"]]
49260
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49261
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49262
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1b7048cd-6f6d-4b83-a6cb-bceb81707846"], ["LIMIT", 1]]
49263
+ TRANSACTION (1.3ms) ROLLBACK
49264
+ TRANSACTION (1.3ms) BEGIN
49265
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49266
+ NulogyMessageBusProducer::SubscriptionEvent Load (3.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "399f687d-4f3d-49e3-b9ff-099e871e426a"], ["LIMIT", 1]]
49267
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
49268
+ NulogyMessageBusProducer::SubscriptionEvent Create (2.7ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "399f687d-4f3d-49e3-b9ff-099e871e426a"], ["subscription_id", "259d3e2c-d0e0-4fce-8047-eb4e47852365"], ["partition_key", "38906280-add7-4062-862f-99baa6c84a7d,889f6660-307c-42dc-8d80-cb48e165b876"], ["topic_name", "some_topic"], ["company_uuid", "889f6660-307c-42dc-8d80-cb48e165b876"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 20:14:08.114752"]]
49269
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49270
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "259d3e2c-d0e0-4fce-8047-eb4e47852365"], ["LIMIT", 1]]
49271
+ TRANSACTION (1.3ms) ROLLBACK
49272
+ TRANSACTION (1.3ms) BEGIN
49273
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49274
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cb8e0698-8ed4-4f46-aac6-f19f6afc057c"], ["LIMIT", 1]]
49275
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
49276
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.8ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "cb8e0698-8ed4-4f46-aac6-f19f6afc057c"], ["subscription_group_id", "0e6e0fde-bef1-4854-8381-38ffa3d3fdaa"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"cb8e0698-8ed4-4f46-aac6-f19f6afc057c\",\n subscriptionGroupId: \"0e6e0fde-bef1-4854-8381-38ffa3d3fdaa\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:08.138125"], ["updated_at", "2021-04-20 20:14:08.138125"]]
49277
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49278
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49279
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cb8e0698-8ed4-4f46-aac6-f19f6afc057c"], ["LIMIT", 1]]
49280
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49281
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cb8e0698-8ed4-4f46-aac6-f19f6afc057c"], ["LIMIT", 1]]
49282
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cb8e0698-8ed4-4f46-aac6-f19f6afc057c"], ["LIMIT", 1]]
49283
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "0eaa020b-f38b-43c0-b4c6-f34f8762387e"], ["LIMIT", 1]]
49284
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49285
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.6ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "0eaa020b-f38b-43c0-b4c6-f34f8762387e"], ["subscription_id", "cb8e0698-8ed4-4f46-aac6-f19f6afc057c"], ["partition_key", "0e6e0fde-bef1-4854-8381-38ffa3d3fdaa,ccd2245b-d1a2-4ec1-9ace-340946df8d98"], ["topic_name", "some_topic"], ["company_uuid", "ccd2245b-d1a2-4ec1-9ace-340946df8d98"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2021-04-20 20:14:08.157265"]]
49286
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49287
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "cb8e0698-8ed4-4f46-aac6-f19f6afc057c"], ["LIMIT", 1]]
49288
+ TRANSACTION (1.0ms) ROLLBACK
49289
+ TRANSACTION (1.5ms) BEGIN
49290
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49291
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0663b9a6-a9c7-448c-9941-faa9cd503fe8"], ["LIMIT", 1]]
49292
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49293
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "0663b9a6-a9c7-448c-9941-faa9cd503fe8"], ["subscription_group_id", "a4ffbfb2-658e-4123-ac4f-d7ba0c25e109"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0663b9a6-a9c7-448c-9941-faa9cd503fe8\",\n subscriptionGroupId: \"a4ffbfb2-658e-4123-ac4f-d7ba0c25e109\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:08.175500"], ["updated_at", "2021-04-20 20:14:08.175500"]]
49294
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49295
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49296
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0663b9a6-a9c7-448c-9941-faa9cd503fe8"], ["LIMIT", 1]]
49297
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49298
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "af0a935e-c5ac-4006-b880-3b8bfb90b839"], ["LIMIT", 1]]
49299
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49300
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "af0a935e-c5ac-4006-b880-3b8bfb90b839"], ["subscription_group_id", "46787079-ac40-4624-8945-929fa79a47e3"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"af0a935e-c5ac-4006-b880-3b8bfb90b839\",\n subscriptionGroupId: \"46787079-ac40-4624-8945-929fa79a47e3\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:08.189764"], ["updated_at", "2021-04-20 20:14:08.189764"]]
49301
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49302
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49303
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "af0a935e-c5ac-4006-b880-3b8bfb90b839"], ["LIMIT", 1]]
49304
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49305
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49306
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0663b9a6-a9c7-448c-9941-faa9cd503fe8"], ["LIMIT", 1]]
49307
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0663b9a6-a9c7-448c-9941-faa9cd503fe8"], ["LIMIT", 1]]
49308
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.7ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "b1688f3f-de57-4ae5-b4dc-4ad816927886"], ["LIMIT", 1]]
49309
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49310
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.5ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "b1688f3f-de57-4ae5-b4dc-4ad816927886"], ["subscription_id", "0663b9a6-a9c7-448c-9941-faa9cd503fe8"], ["partition_key", "a4ffbfb2-658e-4123-ac4f-d7ba0c25e109,d291abfa-54ce-46c8-bbeb-16f0cf1ede10"], ["topic_name", "some_topic"], ["company_uuid", "d291abfa-54ce-46c8-bbeb-16f0cf1ede10"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 20:14:08.210096"]]
49311
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
49312
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "af0a935e-c5ac-4006-b880-3b8bfb90b839"], ["LIMIT", 1]]
49313
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "af0a935e-c5ac-4006-b880-3b8bfb90b839"], ["LIMIT", 1]]
49314
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.7ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "8e2435b6-d3ba-4cde-b991-b4d2ade6f960"], ["LIMIT", 1]]
49315
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49316
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.6ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "8e2435b6-d3ba-4cde-b991-b4d2ade6f960"], ["subscription_id", "af0a935e-c5ac-4006-b880-3b8bfb90b839"], ["partition_key", "46787079-ac40-4624-8945-929fa79a47e3,d291abfa-54ce-46c8-bbeb-16f0cf1ede10"], ["topic_name", "some_topic"], ["company_uuid", "d291abfa-54ce-46c8-bbeb-16f0cf1ede10"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 20:14:08.223274"]]
49317
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49318
+  (2.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49319
+  (1.9ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
49320
+ TRANSACTION (1.8ms) ROLLBACK
49321
+ TRANSACTION (1.8ms) BEGIN
49322
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49323
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1588fb7e-166c-4e31-a69c-f12391757b40"], ["LIMIT", 1]]
49324
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49325
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.8ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "1588fb7e-166c-4e31-a69c-f12391757b40"], ["subscription_group_id", "5128b0e9-a779-41e8-b94f-54d75b209b82"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1588fb7e-166c-4e31-a69c-f12391757b40\",\n subscriptionGroupId: \"5128b0e9-a779-41e8-b94f-54d75b209b82\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:08.248743"], ["updated_at", "2021-04-20 20:14:08.248743"]]
49326
+ TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
49327
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49328
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1588fb7e-166c-4e31-a69c-f12391757b40"], ["LIMIT", 1]]
49329
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49330
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1588fb7e-166c-4e31-a69c-f12391757b40"], ["LIMIT", 1]]
49331
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1588fb7e-166c-4e31-a69c-f12391757b40"], ["LIMIT", 1]]
49332
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "9c4224f6-753f-4814-b122-524d06fe5d84"], ["LIMIT", 1]]
49333
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49334
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.4ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "9c4224f6-753f-4814-b122-524d06fe5d84"], ["subscription_id", "1588fb7e-166c-4e31-a69c-f12391757b40"], ["partition_key", "5128b0e9-a779-41e8-b94f-54d75b209b82,814aacfb-c234-4275-a85d-416da380847a"], ["topic_name", "some_topic"], ["company_uuid", "814aacfb-c234-4275-a85d-416da380847a"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 20:14:08.268412"]]
49335
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49336
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.0ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "1588fb7e-166c-4e31-a69c-f12391757b40"], ["LIMIT", 1]]
49337
+ TRANSACTION (1.8ms) ROLLBACK
49338
+ TRANSACTION (1.5ms) BEGIN
49339
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49340
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4456beca-016a-4a5f-80c2-6812f7d2e9c9"], ["LIMIT", 1]]
49341
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49342
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.8ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "4456beca-016a-4a5f-80c2-6812f7d2e9c9"], ["subscription_group_id", "c781ab30-465c-4659-abee-6f24f52c7a1d"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"4456beca-016a-4a5f-80c2-6812f7d2e9c9\",\n subscriptionGroupId: \"c781ab30-465c-4659-abee-6f24f52c7a1d\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:08.290783"], ["updated_at", "2021-04-20 20:14:08.290783"]]
49343
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49344
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49345
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4456beca-016a-4a5f-80c2-6812f7d2e9c9"], ["LIMIT", 1]]
49346
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49347
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49348
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "7b246d70-e316-472a-ac0f-5d18e161a458"], ["LIMIT", 1]]
49349
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49350
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.3ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "7b246d70-e316-472a-ac0f-5d18e161a458"], ["subscription_id", "ea27b3bc-3208-4b2f-a7d7-9666bf6e264b"], ["partition_key", "1c4dab5f-57ad-457f-b420-b5b94ad7acbf,df0f1206-0409-4e98-b88e-7fae0ceb469a"], ["topic_name", "configured_topic"], ["company_uuid", "df0f1206-0409-4e98-b88e-7fae0ceb469a"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 20:14:08.308060"]]
49351
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49352
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4456beca-016a-4a5f-80c2-6812f7d2e9c9"], ["LIMIT", 1]]
49353
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4456beca-016a-4a5f-80c2-6812f7d2e9c9"], ["LIMIT", 1]]
49354
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "0d79d1d7-3c05-494f-bfc4-0a73a8647a1e"], ["LIMIT", 1]]
49355
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49356
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.4ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "0d79d1d7-3c05-494f-bfc4-0a73a8647a1e"], ["subscription_id", "4456beca-016a-4a5f-80c2-6812f7d2e9c9"], ["partition_key", "c781ab30-465c-4659-abee-6f24f52c7a1d,df0f1206-0409-4e98-b88e-7fae0ceb469a"], ["topic_name", "self_serve_topic"], ["company_uuid", "df0f1206-0409-4e98-b88e-7fae0ceb469a"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 20:14:08.319060"]]
49357
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49358
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49359
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "4456beca-016a-4a5f-80c2-6812f7d2e9c9"], ["LIMIT", 1]]
49360
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "ea27b3bc-3208-4b2f-a7d7-9666bf6e264b"], ["LIMIT", 1]]
49361
+ TRANSACTION (1.3ms) ROLLBACK
49362
+ TRANSACTION (1.2ms) BEGIN
49363
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49364
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "71ba5fb9-4b43-41fd-993e-3f301d337085"], ["LIMIT", 1]]
49365
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49366
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "71ba5fb9-4b43-41fd-993e-3f301d337085"], ["subscription_group_id", "15649947-a4a1-4c17-8c19-dbb2c11dd8fe"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"71ba5fb9-4b43-41fd-993e-3f301d337085\",\n subscriptionGroupId: \"15649947-a4a1-4c17-8c19-dbb2c11dd8fe\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-20 20:14:08.342634"], ["updated_at", "2021-04-20 20:14:08.342634"]]
49367
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49368
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49369
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "71ba5fb9-4b43-41fd-993e-3f301d337085"], ["LIMIT", 1]]
49370
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49371
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49372
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "b42c6343-aec9-4b7b-a657-e82f7552a948"], ["LIMIT", 1]]
49373
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49374
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.5ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "b42c6343-aec9-4b7b-a657-e82f7552a948"], ["subscription_id", "71ba5fb9-4b43-41fd-993e-3f301d337085"], ["partition_key", "cf32edd6-b604-433e-a402-580abb40eaf3,1e2db805-f478-482d-aa54-4f66219c2b72"], ["topic_name", "configured_topic"], ["company_uuid", "1e2db805-f478-482d-aa54-4f66219c2b72"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-20 20:14:08.360073"]]
49375
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49376
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49377
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "71ba5fb9-4b43-41fd-993e-3f301d337085"], ["LIMIT", 1]]
49378
+ TRANSACTION (1.1ms) ROLLBACK
49379
+ TRANSACTION (2.0ms) BEGIN
49380
+  (7.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49381
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1476c9e8-fdd9-417d-8732-d856103bd8aa"], ["LIMIT", 1]]
49382
+ TRANSACTION (2.2ms) SAVEPOINT active_record_1
49383
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.2ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "1476c9e8-fdd9-417d-8732-d856103bd8aa"], ["subscription_group_id", "a5112747-b8fd-47d7-b78d-6fab470e3d18"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1476c9e8-fdd9-417d-8732-d856103bd8aa\",\n subscriptionGroupId: \"a5112747-b8fd-47d7-b78d-6fab470e3d18\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:28.973223"], ["updated_at", "2021-04-21 20:53:28.973223"]]
49384
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49385
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49386
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1476c9e8-fdd9-417d-8732-d856103bd8aa"], ["LIMIT", 1]]
49387
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49388
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.5ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-21 20:53:28.986729"], ["id", "1476c9e8-fdd9-417d-8732-d856103bd8aa"]]
49389
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49390
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49391
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1476c9e8-fdd9-417d-8732-d856103bd8aa"], ["LIMIT", 1]]
49392
+ TRANSACTION (1.2ms) ROLLBACK
49393
+ TRANSACTION (1.1ms) BEGIN
49394
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49395
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d49651bd-2fe2-447e-8735-ef7e3c7444ad"], ["LIMIT", 1]]
49396
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49397
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "d49651bd-2fe2-447e-8735-ef7e3c7444ad"], ["subscription_group_id", "17b279f8-32a6-4142-b5e8-70310c1c07e7"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d49651bd-2fe2-447e-8735-ef7e3c7444ad\",\n subscriptionGroupId: \"17b279f8-32a6-4142-b5e8-70310c1c07e7\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.011552"], ["updated_at", "2021-04-21 20:53:29.011552"]]
49398
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49399
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49400
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d49651bd-2fe2-447e-8735-ef7e3c7444ad"], ["LIMIT", 1]]
49401
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49402
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.2ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-21 20:53:29.019341"], ["id", "d49651bd-2fe2-447e-8735-ef7e3c7444ad"]]
49403
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49404
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49405
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d49651bd-2fe2-447e-8735-ef7e3c7444ad"], ["LIMIT", 1]]
49406
+ TRANSACTION (1.3ms) ROLLBACK
49407
+ TRANSACTION (1.2ms) BEGIN
49408
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49409
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b8f45149-14ec-4bbe-861b-8cd45518b811"], ["LIMIT", 1]]
49410
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49411
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "b8f45149-14ec-4bbe-861b-8cd45518b811"], ["subscription_group_id", "a59b40e6-baae-4acc-b738-42c07a6103f3"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b8f45149-14ec-4bbe-861b-8cd45518b811\",\n subscriptionGroupId: \"a59b40e6-baae-4acc-b738-42c07a6103f3\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.040315"], ["updated_at", "2021-04-21 20:53:29.040315"]]
49412
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49413
+  (1.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49414
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b8f45149-14ec-4bbe-861b-8cd45518b811"], ["LIMIT", 1]]
49415
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
49416
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.3ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-21 20:53:29.047770"], ["id", "b8f45149-14ec-4bbe-861b-8cd45518b811"]]
49417
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49418
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49419
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b8f45149-14ec-4bbe-861b-8cd45518b811"], ["LIMIT", 1]]
49420
+ TRANSACTION (1.1ms) ROLLBACK
49421
+ TRANSACTION (1.2ms) BEGIN
49422
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49423
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d7752d3-608d-4d40-9343-a43c6ad9debd"], ["LIMIT", 1]]
49424
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
49425
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "1d7752d3-608d-4d40-9343-a43c6ad9debd"], ["subscription_group_id", "3fd8db94-8d9e-4170-9bc2-191b130c6d61"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1d7752d3-608d-4d40-9343-a43c6ad9debd\",\n subscriptionGroupId: \"3fd8db94-8d9e-4170-9bc2-191b130c6d61\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.066833"], ["updated_at", "2021-04-21 20:53:29.066833"]]
49426
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49427
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49428
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d7752d3-608d-4d40-9343-a43c6ad9debd"], ["LIMIT", 1]]
49429
+  (4.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49430
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49431
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.7ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "2077cd17-4965-4e38-8766-32a5f299790b"], ["LIMIT", 1]]
49432
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49433
+ NulogyMessageBusProducer::SubscriptionEvent Create (2.0ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "2077cd17-4965-4e38-8766-32a5f299790b"], ["subscription_id", "d8a688e0-a8c4-4757-ba67-0692ec4d5c28"], ["partition_key", "0f18eadf-31b8-448b-8853-b3eb0bcbab67,fc395c5e-3d44-4b7d-a8d5-45f2a50fc4c4"], ["topic_name", "configured_topic"], ["company_uuid", "fc395c5e-3d44-4b7d-a8d5-45f2a50fc4c4"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:53:29.098479"]]
49434
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49435
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d7752d3-608d-4d40-9343-a43c6ad9debd"], ["LIMIT", 1]]
49436
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d7752d3-608d-4d40-9343-a43c6ad9debd"], ["LIMIT", 1]]
49437
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "f0700321-6ba4-42ff-b81c-1d3ea9122d85"], ["LIMIT", 1]]
49438
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49439
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.3ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "f0700321-6ba4-42ff-b81c-1d3ea9122d85"], ["subscription_id", "1d7752d3-608d-4d40-9343-a43c6ad9debd"], ["partition_key", "3fd8db94-8d9e-4170-9bc2-191b130c6d61,fc395c5e-3d44-4b7d-a8d5-45f2a50fc4c4"], ["topic_name", "self_serve_topic"], ["company_uuid", "fc395c5e-3d44-4b7d-a8d5-45f2a50fc4c4"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:53:29.111589"]]
49440
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49441
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49442
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.7ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "1d7752d3-608d-4d40-9343-a43c6ad9debd"], ["LIMIT", 1]]
49443
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.1ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "d8a688e0-a8c4-4757-ba67-0692ec4d5c28"], ["LIMIT", 1]]
49444
+ TRANSACTION (2.8ms) ROLLBACK
49445
+ TRANSACTION (1.6ms) BEGIN
49446
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49447
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9732e5c6-0b11-4d16-9ba3-2146e2a0afb2"], ["LIMIT", 1]]
49448
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49449
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "9732e5c6-0b11-4d16-9ba3-2146e2a0afb2"], ["subscription_group_id", "23691a29-3431-4dd5-ada3-93fa31c54632"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9732e5c6-0b11-4d16-9ba3-2146e2a0afb2\",\n subscriptionGroupId: \"23691a29-3431-4dd5-ada3-93fa31c54632\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.142785"], ["updated_at", "2021-04-21 20:53:29.142785"]]
49450
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
49451
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49452
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9732e5c6-0b11-4d16-9ba3-2146e2a0afb2"], ["LIMIT", 1]]
49453
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49454
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49455
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "ef32c529-91e8-4f49-ae98-a3edeaea9cd8"], ["LIMIT", 1]]
49456
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
49457
+ NulogyMessageBusProducer::SubscriptionEvent Create (2.5ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "ef32c529-91e8-4f49-ae98-a3edeaea9cd8"], ["subscription_id", "9732e5c6-0b11-4d16-9ba3-2146e2a0afb2"], ["partition_key", "f6e810e6-e192-4ec2-bdcd-61cc0ee8e2ac,18cdc7f7-081f-4728-9470-3728409910f5"], ["topic_name", "configured_topic"], ["company_uuid", "18cdc7f7-081f-4728-9470-3728409910f5"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:53:29.161069"]]
49458
+ TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
49459
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49460
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "9732e5c6-0b11-4d16-9ba3-2146e2a0afb2"], ["LIMIT", 1]]
49461
+ TRANSACTION (1.4ms) ROLLBACK
49462
+ TRANSACTION (1.4ms) BEGIN
49463
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49464
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "abd86ae3-401d-4141-a6ef-b8289d05652f"], ["LIMIT", 1]]
49465
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
49466
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.8ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "abd86ae3-401d-4141-a6ef-b8289d05652f"], ["subscription_group_id", "2e37dfe2-cb3f-4227-8efc-930fa7d945b6"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"abd86ae3-401d-4141-a6ef-b8289d05652f\",\n subscriptionGroupId: \"2e37dfe2-cb3f-4227-8efc-930fa7d945b6\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.186192"], ["updated_at", "2021-04-21 20:53:29.186192"]]
49467
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49468
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49469
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "abd86ae3-401d-4141-a6ef-b8289d05652f"], ["LIMIT", 1]]
49470
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49471
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "abd86ae3-401d-4141-a6ef-b8289d05652f"], ["LIMIT", 1]]
49472
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "abd86ae3-401d-4141-a6ef-b8289d05652f"], ["LIMIT", 1]]
49473
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "17a331c4-0176-45ee-b489-6c9fb591d812"], ["LIMIT", 1]]
49474
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
49475
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.8ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "17a331c4-0176-45ee-b489-6c9fb591d812"], ["subscription_id", "abd86ae3-401d-4141-a6ef-b8289d05652f"], ["partition_key", "2e37dfe2-cb3f-4227-8efc-930fa7d945b6,e34e3d73-679e-49f8-be40-a3116c2e640e"], ["topic_name", "some_topic"], ["company_uuid", "e34e3d73-679e-49f8-be40-a3116c2e640e"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2021-04-21 20:53:29.205011"]]
49476
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
49477
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "abd86ae3-401d-4141-a6ef-b8289d05652f"], ["LIMIT", 1]]
49478
+ TRANSACTION (1.4ms) ROLLBACK
49479
+ TRANSACTION (1.3ms) BEGIN
49480
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49481
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "be5df13e-dfe4-4b71-b5bf-c179ad6ec132"], ["LIMIT", 1]]
49482
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49483
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "be5df13e-dfe4-4b71-b5bf-c179ad6ec132"], ["subscription_group_id", "ff641ce7-18c4-4540-9f86-36d4c86a4163"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"be5df13e-dfe4-4b71-b5bf-c179ad6ec132\",\n subscriptionGroupId: \"ff641ce7-18c4-4540-9f86-36d4c86a4163\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.223331"], ["updated_at", "2021-04-21 20:53:29.223331"]]
49484
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49485
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49486
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "be5df13e-dfe4-4b71-b5bf-c179ad6ec132"], ["LIMIT", 1]]
49487
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49488
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "623cbfb7-0ef4-4e59-991a-830892633721"], ["LIMIT", 1]]
49489
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49490
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "623cbfb7-0ef4-4e59-991a-830892633721"], ["subscription_group_id", "1ed49bdd-4657-4e2b-9343-09b84e5603a0"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"623cbfb7-0ef4-4e59-991a-830892633721\",\n subscriptionGroupId: \"1ed49bdd-4657-4e2b-9343-09b84e5603a0\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.240331"], ["updated_at", "2021-04-21 20:53:29.240331"]]
49491
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49492
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49493
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "623cbfb7-0ef4-4e59-991a-830892633721"], ["LIMIT", 1]]
49494
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49495
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49496
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "be5df13e-dfe4-4b71-b5bf-c179ad6ec132"], ["LIMIT", 1]]
49497
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "be5df13e-dfe4-4b71-b5bf-c179ad6ec132"], ["LIMIT", 1]]
49498
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "dac04682-de21-4285-b729-33a04700dd97"], ["LIMIT", 1]]
49499
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
49500
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.5ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "dac04682-de21-4285-b729-33a04700dd97"], ["subscription_id", "be5df13e-dfe4-4b71-b5bf-c179ad6ec132"], ["partition_key", "ff641ce7-18c4-4540-9f86-36d4c86a4163,0aef651b-541f-4004-bc56-c7ca995ebd2c"], ["topic_name", "some_topic"], ["company_uuid", "0aef651b-541f-4004-bc56-c7ca995ebd2c"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:53:29.260128"]]
49501
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49502
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "623cbfb7-0ef4-4e59-991a-830892633721"], ["LIMIT", 1]]
49503
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "623cbfb7-0ef4-4e59-991a-830892633721"], ["LIMIT", 1]]
49504
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "246ff487-a748-47a8-a3a9-263ff6d88401"], ["LIMIT", 1]]
49505
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49506
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.5ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "246ff487-a748-47a8-a3a9-263ff6d88401"], ["subscription_id", "623cbfb7-0ef4-4e59-991a-830892633721"], ["partition_key", "1ed49bdd-4657-4e2b-9343-09b84e5603a0,0aef651b-541f-4004-bc56-c7ca995ebd2c"], ["topic_name", "some_topic"], ["company_uuid", "0aef651b-541f-4004-bc56-c7ca995ebd2c"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:53:29.272804"]]
49507
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49508
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49509
+  (1.6ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
49510
+ TRANSACTION (1.6ms) ROLLBACK
49511
+ TRANSACTION (1.3ms) BEGIN
49512
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49513
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "69a77147-e53e-48ee-99db-3a8e8838702b"], ["LIMIT", 1]]
49514
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
49515
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.8ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "69a77147-e53e-48ee-99db-3a8e8838702b"], ["subscription_group_id", "589e8bcf-629e-4112-9139-1b2e226596d5"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"69a77147-e53e-48ee-99db-3a8e8838702b\",\n subscriptionGroupId: \"589e8bcf-629e-4112-9139-1b2e226596d5\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.298320"], ["updated_at", "2021-04-21 20:53:29.298320"]]
49516
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49517
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49518
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "69a77147-e53e-48ee-99db-3a8e8838702b"], ["LIMIT", 1]]
49519
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49520
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "69a77147-e53e-48ee-99db-3a8e8838702b"], ["LIMIT", 1]]
49521
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "69a77147-e53e-48ee-99db-3a8e8838702b"], ["LIMIT", 1]]
49522
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "bb7314f1-7394-48a7-a49e-575390ae7c6a"], ["LIMIT", 1]]
49523
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49524
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.7ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "bb7314f1-7394-48a7-a49e-575390ae7c6a"], ["subscription_id", "69a77147-e53e-48ee-99db-3a8e8838702b"], ["partition_key", "589e8bcf-629e-4112-9139-1b2e226596d5,c2ffddaa-3b33-47b2-8d58-67d6f8d5d65d"], ["topic_name", "some_topic"], ["company_uuid", "c2ffddaa-3b33-47b2-8d58-67d6f8d5d65d"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:53:29.318144"]]
49525
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
49526
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.6ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "69a77147-e53e-48ee-99db-3a8e8838702b"], ["LIMIT", 1]]
49527
+ TRANSACTION (1.5ms) ROLLBACK
49528
+ TRANSACTION (1.9ms) BEGIN
49529
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49530
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.8ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "5cd559e9-9a8c-494f-b553-22fb5a84704b"], ["LIMIT", 1]]
49531
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
49532
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.8ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "5cd559e9-9a8c-494f-b553-22fb5a84704b"], ["subscription_id", "209943d2-d33c-4b43-9e81-c6cd87b23227"], ["partition_key", "84292e93-d6fd-40ae-a66c-1fa9258d99cd,ca3fdd19-602f-4948-bd73-64bb9f9a5ec8"], ["topic_name", "some_topic"], ["company_uuid", "ca3fdd19-602f-4948-bd73-64bb9f9a5ec8"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:53:29.340832"]]
49533
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
49534
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.7ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "209943d2-d33c-4b43-9e81-c6cd87b23227"], ["LIMIT", 1]]
49535
+ TRANSACTION (1.7ms) ROLLBACK
49536
+ TRANSACTION (1.5ms) BEGIN
49537
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49538
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7d43501c-6709-4f29-a6b6-23d729ad395b"], ["LIMIT", 1]]
49539
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49540
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "7d43501c-6709-4f29-a6b6-23d729ad395b"], ["subscription_group_id", "73602c21-7432-4e7e-aa20-77170ede4ecf"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"7d43501c-6709-4f29-a6b6-23d729ad395b\",\n subscriptionGroupId: \"73602c21-7432-4e7e-aa20-77170ede4ecf\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.402853"], ["updated_at", "2021-04-21 20:53:29.402853"]]
49541
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49542
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49543
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7d43501c-6709-4f29-a6b6-23d729ad395b"], ["LIMIT", 1]]
49544
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49545
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.7ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"7d43501c-6709-4f29-a6b6-23d729ad395b\",\n subscriptionGroupId: \"73602c21-7432-4e7e-aa20-77170ede4ecf\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-21 20:53:29.411607"], ["id", "7d43501c-6709-4f29-a6b6-23d729ad395b"]]
49546
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49547
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
49548
+ TRANSACTION (1.5ms) ROLLBACK
49549
+ TRANSACTION (1.4ms) BEGIN
49550
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49551
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ef080021-7f45-4747-a207-7f5b4384f851"], ["LIMIT", 1]]
49552
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
49553
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "ef080021-7f45-4747-a207-7f5b4384f851"], ["subscription_group_id", "f533b76f-e4af-43e3-8e0d-a6b99ac3bfb6"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ef080021-7f45-4747-a207-7f5b4384f851\",\n subscriptionGroupId: \"f533b76f-e4af-43e3-8e0d-a6b99ac3bfb6\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.430782"], ["updated_at", "2021-04-21 20:53:29.430782"]]
49554
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49555
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49556
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ef080021-7f45-4747-a207-7f5b4384f851"], ["LIMIT", 1]]
49557
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49558
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.6ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"ef080021-7f45-4747-a207-7f5b4384f851\",\n subscriptionGroupId: \"f533b76f-e4af-43e3-8e0d-a6b99ac3bfb6\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-21 20:53:29.440011"], ["id", "ef080021-7f45-4747-a207-7f5b4384f851"]]
49559
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49560
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
49561
+ TRANSACTION (1.5ms) ROLLBACK
49562
+ TRANSACTION (1.2ms) BEGIN
49563
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49564
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9f137f9d-2b1d-43dc-ac40-8fb41de09f27"], ["LIMIT", 1]]
49565
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49566
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "9f137f9d-2b1d-43dc-ac40-8fb41de09f27"], ["subscription_group_id", "c3c2508e-3350-419f-8a8e-7812581741e2"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9f137f9d-2b1d-43dc-ac40-8fb41de09f27\",\n subscriptionGroupId: \"c3c2508e-3350-419f-8a8e-7812581741e2\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.459471"], ["updated_at", "2021-04-21 20:53:29.459471"]]
49567
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49568
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49569
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9f137f9d-2b1d-43dc-ac40-8fb41de09f27"], ["LIMIT", 1]]
49570
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
49571
+ TRANSACTION (1.3ms) ROLLBACK
49572
+ TRANSACTION (1.4ms) BEGIN
49573
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2c96953c-9fa9-4d51-9e7f-dafe3e9b2ba7"], ["LIMIT", 1]]
49574
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49575
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "2c96953c-9fa9-4d51-9e7f-dafe3e9b2ba7"], ["subscription_group_id", "1adc91a8-4771-43c7-888e-a019275b0fb7"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"2c96953c-9fa9-4d51-9e7f-dafe3e9b2ba7\",\n subscriptionGroupId: \"1adc91a8-4771-43c7-888e-a019275b0fb7\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.490482"], ["updated_at", "2021-04-21 20:53:29.490482"]]
49576
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49577
+ TRANSACTION (1.2ms) ROLLBACK
49578
+ TRANSACTION (1.1ms) BEGIN
49579
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49580
+ TRANSACTION (1.1ms) ROLLBACK
49581
+ TRANSACTION (1.0ms) BEGIN
49582
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49583
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "817485cb-43ac-4b3e-a5f6-ca20d480a91b"], ["LIMIT", 1]]
49584
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49585
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.2ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "817485cb-43ac-4b3e-a5f6-ca20d480a91b"], ["subscription_group_id", "4e67b993-bf8a-4aaa-acd0-65f4da4445d7"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"817485cb-43ac-4b3e-a5f6-ca20d480a91b\",\n subscriptionGroupId: \"4e67b993-bf8a-4aaa-acd0-65f4da4445d7\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.534630"], ["updated_at", "2021-04-21 20:53:29.534630"]]
49586
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49587
+  (1.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49588
+ NulogyMessageBusProducer::SelfServeSubscription Load (0.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "817485cb-43ac-4b3e-a5f6-ca20d480a91b"], ["LIMIT", 1]]
49589
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49590
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0647d8f9-a575-489e-9426-349b924ba150"], ["LIMIT", 1]]
49591
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49592
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "0647d8f9-a575-489e-9426-349b924ba150"], ["subscription_group_id", "0303adf1-8fa6-4d15-bd58-6cd9e5ae0505"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0647d8f9-a575-489e-9426-349b924ba150\",\n subscriptionGroupId: \"0303adf1-8fa6-4d15-bd58-6cd9e5ae0505\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.546701"], ["updated_at", "2021-04-21 20:53:29.546701"]]
49593
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49594
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49595
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0647d8f9-a575-489e-9426-349b924ba150"], ["LIMIT", 1]]
49596
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49597
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3a00cc87-33c5-4992-bb39-2805b4a479c7"], ["LIMIT", 1]]
49598
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
49599
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.1ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "3a00cc87-33c5-4992-bb39-2805b4a479c7"], ["subscription_group_id", "504086c3-07e8-4eb6-ae9a-c71e3223f2c1"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"3a00cc87-33c5-4992-bb39-2805b4a479c7\",\n subscriptionGroupId: \"504086c3-07e8-4eb6-ae9a-c71e3223f2c1\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.560908"], ["updated_at", "2021-04-21 20:53:29.560908"]]
49600
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
49601
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49602
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3a00cc87-33c5-4992-bb39-2805b4a479c7"], ["LIMIT", 1]]
49603
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49604
+ TRANSACTION (1.8ms) ROLLBACK
49605
+ TRANSACTION (1.7ms) BEGIN
49606
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49607
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f999532c-94f0-456f-b9b7-5844e5f34480"], ["LIMIT", 1]]
49608
+ TRANSACTION (2.4ms) SAVEPOINT active_record_1
49609
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "f999532c-94f0-456f-b9b7-5844e5f34480"], ["subscription_group_id", "0acd369c-d697-4b1b-b3be-ca33ce6fe29b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"f999532c-94f0-456f-b9b7-5844e5f34480\",\n subscriptionGroupId: \"0acd369c-d697-4b1b-b3be-ca33ce6fe29b\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.590483"], ["updated_at", "2021-04-21 20:53:29.590483"]]
49610
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49611
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49612
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f999532c-94f0-456f-b9b7-5844e5f34480"], ["LIMIT", 1]]
49613
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49614
+ TRANSACTION (1.2ms) ROLLBACK
49615
+ TRANSACTION (1.0ms) BEGIN
49616
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49617
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fb275350-8aa4-44af-bd86-d9ffe0020c52"], ["LIMIT", 1]]
49618
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49619
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "fb275350-8aa4-44af-bd86-d9ffe0020c52"], ["subscription_group_id", "8c42f6f1-38aa-43e3-84e4-0805a09d8a06"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"fb275350-8aa4-44af-bd86-d9ffe0020c52\",\n subscriptionGroupId: \"8c42f6f1-38aa-43e3-84e4-0805a09d8a06\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:53:29.613937"], ["updated_at", "2021-04-21 20:53:29.613937"]]
49620
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49621
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49622
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fb275350-8aa4-44af-bd86-d9ffe0020c52"], ["LIMIT", 1]]
49623
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49624
+ TRANSACTION (1.2ms) ROLLBACK
49625
+ TRANSACTION (1.7ms) BEGIN
49626
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49627
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "436e7c98-82ab-4c7f-946a-7b36555b57fa"], ["LIMIT", 1]]
49628
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
49629
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.0ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "436e7c98-82ab-4c7f-946a-7b36555b57fa"], ["subscription_group_id", "d7e0d257-9863-412c-bd42-eaee329d52fe"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"436e7c98-82ab-4c7f-946a-7b36555b57fa\",\n subscriptionGroupId: \"d7e0d257-9863-412c-bd42-eaee329d52fe\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:00.778165"], ["updated_at", "2021-04-21 20:56:00.778165"]]
49630
+ TRANSACTION (2.6ms) RELEASE SAVEPOINT active_record_1
49631
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49632
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "436e7c98-82ab-4c7f-946a-7b36555b57fa"], ["LIMIT", 1]]
49633
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49634
+ TRANSACTION (1.4ms) ROLLBACK
49635
+ TRANSACTION (2.8ms) BEGIN
49636
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49637
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "26f7ba9d-62d0-47fe-b018-e11260ec9d36"], ["LIMIT", 1]]
49638
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49639
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "26f7ba9d-62d0-47fe-b018-e11260ec9d36"], ["subscription_group_id", "99cf1713-3f5e-4f5a-b94f-a96f61c1dc2e"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"26f7ba9d-62d0-47fe-b018-e11260ec9d36\",\n subscriptionGroupId: \"99cf1713-3f5e-4f5a-b94f-a96f61c1dc2e\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:00.838565"], ["updated_at", "2021-04-21 20:56:00.838565"]]
49640
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49641
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49642
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "26f7ba9d-62d0-47fe-b018-e11260ec9d36"], ["LIMIT", 1]]
49643
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49644
+ TRANSACTION (1.4ms) ROLLBACK
49645
+ TRANSACTION (1.4ms) BEGIN
49646
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49647
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "69365099-4866-4703-9c57-3ab1aa3bc337"], ["LIMIT", 1]]
49648
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
49649
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.2ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "69365099-4866-4703-9c57-3ab1aa3bc337"], ["subscription_group_id", "3f93a6e7-b54a-4163-8c02-23aba7379885"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"69365099-4866-4703-9c57-3ab1aa3bc337\",\n subscriptionGroupId: \"3f93a6e7-b54a-4163-8c02-23aba7379885\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:00.864403"], ["updated_at", "2021-04-21 20:56:00.864403"]]
49650
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49651
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49652
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "69365099-4866-4703-9c57-3ab1aa3bc337"], ["LIMIT", 1]]
49653
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49654
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a84922f8-9236-4006-aa9b-fd2f081a14e0"], ["LIMIT", 1]]
49655
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49656
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.2ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "a84922f8-9236-4006-aa9b-fd2f081a14e0"], ["subscription_group_id", "82e69f01-a87a-44bb-994b-a64d90dc2b2d"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"a84922f8-9236-4006-aa9b-fd2f081a14e0\",\n subscriptionGroupId: \"82e69f01-a87a-44bb-994b-a64d90dc2b2d\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:00.876887"], ["updated_at", "2021-04-21 20:56:00.876887"]]
49657
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49658
+  (1.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49659
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a84922f8-9236-4006-aa9b-fd2f081a14e0"], ["LIMIT", 1]]
49660
+  (1.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49661
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4ebbe066-6199-43e9-9183-f49df7a99755"], ["LIMIT", 1]]
49662
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49663
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "4ebbe066-6199-43e9-9183-f49df7a99755"], ["subscription_group_id", "7a35f409-0d2d-47b3-9e71-b7cc3a1ee1c7"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"4ebbe066-6199-43e9-9183-f49df7a99755\",\n subscriptionGroupId: \"7a35f409-0d2d-47b3-9e71-b7cc3a1ee1c7\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:00.888594"], ["updated_at", "2021-04-21 20:56:00.888594"]]
49664
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49665
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49666
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4ebbe066-6199-43e9-9183-f49df7a99755"], ["LIMIT", 1]]
49667
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49668
+ TRANSACTION (1.2ms) ROLLBACK
49669
+ TRANSACTION (1.9ms) BEGIN
49670
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49671
+ TRANSACTION (1.3ms) ROLLBACK
49672
+ TRANSACTION (1.2ms) BEGIN
49673
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49674
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "297779f3-e51e-4b30-b48a-043653503fc5"], ["LIMIT", 1]]
49675
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49676
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "297779f3-e51e-4b30-b48a-043653503fc5"], ["subscription_group_id", "35fe5b36-050a-43da-9b70-ea3a6c7c6415"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"297779f3-e51e-4b30-b48a-043653503fc5\",\n subscriptionGroupId: \"35fe5b36-050a-43da-9b70-ea3a6c7c6415\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:00.963381"], ["updated_at", "2021-04-21 20:56:00.963381"]]
49677
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49678
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49679
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "297779f3-e51e-4b30-b48a-043653503fc5"], ["LIMIT", 1]]
49680
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49681
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.3ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-21 20:56:00.971555"], ["id", "297779f3-e51e-4b30-b48a-043653503fc5"]]
49682
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49683
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49684
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "297779f3-e51e-4b30-b48a-043653503fc5"], ["LIMIT", 1]]
49685
+ TRANSACTION (1.5ms) ROLLBACK
49686
+ TRANSACTION (1.4ms) BEGIN
49687
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49688
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5516c8bb-049e-4dde-bcf3-fb7e2d85912e"], ["LIMIT", 1]]
49689
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49690
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "5516c8bb-049e-4dde-bcf3-fb7e2d85912e"], ["subscription_group_id", "676f17fa-ccdc-4a04-8048-187405f8a6b6"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"5516c8bb-049e-4dde-bcf3-fb7e2d85912e\",\n subscriptionGroupId: \"676f17fa-ccdc-4a04-8048-187405f8a6b6\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:00.994536"], ["updated_at", "2021-04-21 20:56:00.994536"]]
49691
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49692
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49693
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5516c8bb-049e-4dde-bcf3-fb7e2d85912e"], ["LIMIT", 1]]
49694
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49695
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.4ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-21 20:56:01.003144"], ["id", "5516c8bb-049e-4dde-bcf3-fb7e2d85912e"]]
49696
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
49697
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49698
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5516c8bb-049e-4dde-bcf3-fb7e2d85912e"], ["LIMIT", 1]]
49699
+ TRANSACTION (1.7ms) ROLLBACK
49700
+ TRANSACTION (1.2ms) BEGIN
49701
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49702
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9ebc0021-e1ad-4b5e-a6cc-31b1dc02bccf"], ["LIMIT", 1]]
49703
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
49704
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.0ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "9ebc0021-e1ad-4b5e-a6cc-31b1dc02bccf"], ["subscription_group_id", "9a4d7fc8-e46f-4ef8-8614-7da971a4fd7e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9ebc0021-e1ad-4b5e-a6cc-31b1dc02bccf\",\n subscriptionGroupId: \"9a4d7fc8-e46f-4ef8-8614-7da971a4fd7e\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:01.024350"], ["updated_at", "2021-04-21 20:56:01.024350"]]
49705
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
49706
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49707
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9ebc0021-e1ad-4b5e-a6cc-31b1dc02bccf"], ["LIMIT", 1]]
49708
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
49709
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.8ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-21 20:56:01.035532"], ["id", "9ebc0021-e1ad-4b5e-a6cc-31b1dc02bccf"]]
49710
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49711
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49712
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9ebc0021-e1ad-4b5e-a6cc-31b1dc02bccf"], ["LIMIT", 1]]
49713
+ TRANSACTION (1.6ms) ROLLBACK
49714
+ TRANSACTION (1.6ms) BEGIN
49715
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49716
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "69a44550-16d1-4ada-b9b3-af246a3494e8"], ["LIMIT", 1]]
49717
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
49718
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.8ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "69a44550-16d1-4ada-b9b3-af246a3494e8"], ["subscription_id", "25234d3d-93d2-42a2-b362-749814c0182a"], ["partition_key", "5e714fc8-37a3-40d1-ad1f-6ba56f104843,bd92814d-dadf-4947-a942-ee8a037b70eb"], ["topic_name", "some_topic"], ["company_uuid", "bd92814d-dadf-4947-a942-ee8a037b70eb"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:56:01.074211"]]
49719
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49720
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "25234d3d-93d2-42a2-b362-749814c0182a"], ["LIMIT", 1]]
49721
+ TRANSACTION (1.1ms) ROLLBACK
49722
+ TRANSACTION (1.5ms) BEGIN
49723
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49724
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cd49f7c1-1f0b-4706-b317-d4672bb564ce"], ["LIMIT", 1]]
49725
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49726
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "cd49f7c1-1f0b-4706-b317-d4672bb564ce"], ["subscription_group_id", "d68091ef-e997-4ed1-9b26-400455773eea"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"cd49f7c1-1f0b-4706-b317-d4672bb564ce\",\n subscriptionGroupId: \"d68091ef-e997-4ed1-9b26-400455773eea\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:01.096323"], ["updated_at", "2021-04-21 20:56:01.096323"]]
49727
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49728
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49729
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cd49f7c1-1f0b-4706-b317-d4672bb564ce"], ["LIMIT", 1]]
49730
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49731
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cd49f7c1-1f0b-4706-b317-d4672bb564ce"], ["LIMIT", 1]]
49732
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cd49f7c1-1f0b-4706-b317-d4672bb564ce"], ["LIMIT", 1]]
49733
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.7ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "b3c90d53-3501-4f24-b7fd-33b1d64c1ebd"], ["LIMIT", 1]]
49734
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49735
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.8ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "b3c90d53-3501-4f24-b7fd-33b1d64c1ebd"], ["subscription_id", "cd49f7c1-1f0b-4706-b317-d4672bb564ce"], ["partition_key", "d68091ef-e997-4ed1-9b26-400455773eea,9ca2932d-2851-4635-840c-838d0333517d"], ["topic_name", "some_topic"], ["company_uuid", "9ca2932d-2851-4635-840c-838d0333517d"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2021-04-21 20:56:01.116287"]]
49736
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
49737
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.0ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "cd49f7c1-1f0b-4706-b317-d4672bb564ce"], ["LIMIT", 1]]
49738
+ TRANSACTION (1.5ms) ROLLBACK
49739
+ TRANSACTION (1.6ms) BEGIN
49740
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49741
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2d215654-5af7-4dfd-8d8c-2779c72bf73b"], ["LIMIT", 1]]
49742
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49743
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.9ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "2d215654-5af7-4dfd-8d8c-2779c72bf73b"], ["subscription_group_id", "6d927b6a-bfba-4752-a712-73977d5a9926"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2d215654-5af7-4dfd-8d8c-2779c72bf73b\",\n subscriptionGroupId: \"6d927b6a-bfba-4752-a712-73977d5a9926\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:01.139020"], ["updated_at", "2021-04-21 20:56:01.139020"]]
49744
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
49745
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49746
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2d215654-5af7-4dfd-8d8c-2779c72bf73b"], ["LIMIT", 1]]
49747
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49748
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "57daa2eb-73de-4293-9ef4-51789ead0989"], ["LIMIT", 1]]
49749
+ TRANSACTION (2.2ms) SAVEPOINT active_record_1
49750
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.8ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "57daa2eb-73de-4293-9ef4-51789ead0989"], ["subscription_group_id", "d9c3b35a-3c1c-4087-ba39-2bc6d9357248"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"57daa2eb-73de-4293-9ef4-51789ead0989\",\n subscriptionGroupId: \"d9c3b35a-3c1c-4087-ba39-2bc6d9357248\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:01.164410"], ["updated_at", "2021-04-21 20:56:01.164410"]]
49751
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
49752
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49753
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "57daa2eb-73de-4293-9ef4-51789ead0989"], ["LIMIT", 1]]
49754
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49755
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49756
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2d215654-5af7-4dfd-8d8c-2779c72bf73b"], ["LIMIT", 1]]
49757
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2d215654-5af7-4dfd-8d8c-2779c72bf73b"], ["LIMIT", 1]]
49758
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "ba02a7d2-28f3-49ce-ae0f-d44484567258"], ["LIMIT", 1]]
49759
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
49760
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.7ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "ba02a7d2-28f3-49ce-ae0f-d44484567258"], ["subscription_id", "2d215654-5af7-4dfd-8d8c-2779c72bf73b"], ["partition_key", "6d927b6a-bfba-4752-a712-73977d5a9926,7ad245b2-475f-4e98-b76a-e63486531b75"], ["topic_name", "some_topic"], ["company_uuid", "7ad245b2-475f-4e98-b76a-e63486531b75"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:56:01.227014"]]
49761
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49762
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "57daa2eb-73de-4293-9ef4-51789ead0989"], ["LIMIT", 1]]
49763
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "57daa2eb-73de-4293-9ef4-51789ead0989"], ["LIMIT", 1]]
49764
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "81186b55-2737-4238-9865-f4101e0a2826"], ["LIMIT", 1]]
49765
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49766
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.4ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "81186b55-2737-4238-9865-f4101e0a2826"], ["subscription_id", "57daa2eb-73de-4293-9ef4-51789ead0989"], ["partition_key", "d9c3b35a-3c1c-4087-ba39-2bc6d9357248,7ad245b2-475f-4e98-b76a-e63486531b75"], ["topic_name", "some_topic"], ["company_uuid", "7ad245b2-475f-4e98-b76a-e63486531b75"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:56:01.259060"]]
49767
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49768
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49769
+  (1.1ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
49770
+ TRANSACTION (1.1ms) ROLLBACK
49771
+ TRANSACTION (1.2ms) BEGIN
49772
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49773
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7843951f-679c-4886-ad8d-88c57b1337bf"], ["LIMIT", 1]]
49774
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49775
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "7843951f-679c-4886-ad8d-88c57b1337bf"], ["subscription_group_id", "5e55c835-c754-4d63-9a46-e0e6e3757976"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"7843951f-679c-4886-ad8d-88c57b1337bf\",\n subscriptionGroupId: \"5e55c835-c754-4d63-9a46-e0e6e3757976\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:01.280669"], ["updated_at", "2021-04-21 20:56:01.280669"]]
49776
+ TRANSACTION (0.9ms) RELEASE SAVEPOINT active_record_1
49777
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49778
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7843951f-679c-4886-ad8d-88c57b1337bf"], ["LIMIT", 1]]
49779
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49780
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7843951f-679c-4886-ad8d-88c57b1337bf"], ["LIMIT", 1]]
49781
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7843951f-679c-4886-ad8d-88c57b1337bf"], ["LIMIT", 1]]
49782
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "6c209bf6-af60-4763-8024-3e19e149e2bc"], ["LIMIT", 1]]
49783
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49784
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.4ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "6c209bf6-af60-4763-8024-3e19e149e2bc"], ["subscription_id", "7843951f-679c-4886-ad8d-88c57b1337bf"], ["partition_key", "5e55c835-c754-4d63-9a46-e0e6e3757976,5b6991e6-c470-438b-8f52-7f176e8c3b47"], ["topic_name", "some_topic"], ["company_uuid", "5b6991e6-c470-438b-8f52-7f176e8c3b47"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:56:01.296841"]]
49785
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49786
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "7843951f-679c-4886-ad8d-88c57b1337bf"], ["LIMIT", 1]]
49787
+ TRANSACTION (1.2ms) ROLLBACK
49788
+ TRANSACTION (1.4ms) BEGIN
49789
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49790
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "08adf4ab-b59f-45a2-8f29-e0ce8514aa88"], ["LIMIT", 1]]
49791
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
49792
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "08adf4ab-b59f-45a2-8f29-e0ce8514aa88"], ["subscription_group_id", "af7269ca-9e43-469a-b7dd-8a0900825a62"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"08adf4ab-b59f-45a2-8f29-e0ce8514aa88\",\n subscriptionGroupId: \"af7269ca-9e43-469a-b7dd-8a0900825a62\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:01.316162"], ["updated_at", "2021-04-21 20:56:01.316162"]]
49793
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49794
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49795
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "08adf4ab-b59f-45a2-8f29-e0ce8514aa88"], ["LIMIT", 1]]
49796
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49797
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49798
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "91ff556d-6776-448a-9e52-59a83cc04dec"], ["LIMIT", 1]]
49799
+ TRANSACTION (2.9ms) SAVEPOINT active_record_1
49800
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.3ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "91ff556d-6776-448a-9e52-59a83cc04dec"], ["subscription_id", "c88d3bad-88e5-40b7-b4e6-5eea43db17e4"], ["partition_key", "ce43bf92-5b36-4897-a84e-27fd2b6d0855,b988ecb4-87ab-417c-b9fe-24c9d7d87047"], ["topic_name", "configured_topic"], ["company_uuid", "b988ecb4-87ab-417c-b9fe-24c9d7d87047"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:56:01.331713"]]
49801
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49802
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "08adf4ab-b59f-45a2-8f29-e0ce8514aa88"], ["LIMIT", 1]]
49803
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "08adf4ab-b59f-45a2-8f29-e0ce8514aa88"], ["LIMIT", 1]]
49804
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.0ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "98daabb6-dac8-4520-a90e-eda50c2d1447"], ["LIMIT", 1]]
49805
+ TRANSACTION (0.9ms) SAVEPOINT active_record_1
49806
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.0ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "98daabb6-dac8-4520-a90e-eda50c2d1447"], ["subscription_id", "08adf4ab-b59f-45a2-8f29-e0ce8514aa88"], ["partition_key", "af7269ca-9e43-469a-b7dd-8a0900825a62,b988ecb4-87ab-417c-b9fe-24c9d7d87047"], ["topic_name", "self_serve_topic"], ["company_uuid", "b988ecb4-87ab-417c-b9fe-24c9d7d87047"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:56:01.343963"]]
49807
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49808
+  (1.0ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49809
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "08adf4ab-b59f-45a2-8f29-e0ce8514aa88"], ["LIMIT", 1]]
49810
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.1ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "c88d3bad-88e5-40b7-b4e6-5eea43db17e4"], ["LIMIT", 1]]
49811
+ TRANSACTION (1.3ms) ROLLBACK
49812
+ TRANSACTION (1.3ms) BEGIN
49813
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49814
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9573e7f0-94dd-4e85-aa76-40d8401abbf2"], ["LIMIT", 1]]
49815
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
49816
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "9573e7f0-94dd-4e85-aa76-40d8401abbf2"], ["subscription_group_id", "7045a671-5202-4051-b98b-310dbcf3122d"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9573e7f0-94dd-4e85-aa76-40d8401abbf2\",\n subscriptionGroupId: \"7045a671-5202-4051-b98b-310dbcf3122d\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:01.366371"], ["updated_at", "2021-04-21 20:56:01.366371"]]
49817
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49818
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49819
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9573e7f0-94dd-4e85-aa76-40d8401abbf2"], ["LIMIT", 1]]
49820
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49821
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49822
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "cf0e0d54-9260-42d5-a86b-37f32b9a18a7"], ["LIMIT", 1]]
49823
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
49824
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.4ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "cf0e0d54-9260-42d5-a86b-37f32b9a18a7"], ["subscription_id", "9573e7f0-94dd-4e85-aa76-40d8401abbf2"], ["partition_key", "a7b128f3-67f0-4763-b800-81aaec9ac412,ca6a83a0-1ca4-4a75-80ba-b38e1c3ea339"], ["topic_name", "configured_topic"], ["company_uuid", "ca6a83a0-1ca4-4a75-80ba-b38e1c3ea339"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:56:01.386653"]]
49825
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49826
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49827
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "9573e7f0-94dd-4e85-aa76-40d8401abbf2"], ["LIMIT", 1]]
49828
+ TRANSACTION (1.3ms) ROLLBACK
49829
+ TRANSACTION (1.0ms) BEGIN
49830
+  (9.2ms) TRUNCATE message_bus_subscription_events
49831
+  (6.4ms) TRUNCATE schema_migrations
49832
+  (4.7ms) TRUNCATE ar_internal_metadata
49833
+  (6.0ms) TRUNCATE message_bus_subscriptions
49834
+  (5.9ms) TRUNCATE message_bus_subscription_events
49835
+  (5.9ms) TRUNCATE message_bus_subscriptions
49836
+ TRANSACTION (4.4ms) ROLLBACK
49837
+ TRANSACTION (1.4ms) BEGIN
49838
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9e088dc8-4bf1-4174-a0f1-d92d2db1d3c5"], ["LIMIT", 1]]
49839
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49840
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.0ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "9e088dc8-4bf1-4174-a0f1-d92d2db1d3c5"], ["subscription_group_id", "83130303-8afa-4605-ab54-f33dd957b08e"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"9e088dc8-4bf1-4174-a0f1-d92d2db1d3c5\",\n subscriptionGroupId: \"83130303-8afa-4605-ab54-f33dd957b08e\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:02.473436"], ["updated_at", "2021-04-21 20:56:02.473436"]]
49841
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49842
+ TRANSACTION (1.1ms) ROLLBACK
49843
+ TRANSACTION (1.0ms) BEGIN
49844
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49845
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "750e7edf-7681-4f6f-9a1f-8a94b0f17036"], ["LIMIT", 1]]
49846
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49847
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "750e7edf-7681-4f6f-9a1f-8a94b0f17036"], ["subscription_group_id", "dd565688-684a-4085-bea2-21a2a629de7e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"750e7edf-7681-4f6f-9a1f-8a94b0f17036\",\n subscriptionGroupId: \"dd565688-684a-4085-bea2-21a2a629de7e\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:02.524657"], ["updated_at", "2021-04-21 20:56:02.524657"]]
49848
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49849
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49850
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "750e7edf-7681-4f6f-9a1f-8a94b0f17036"], ["LIMIT", 1]]
49851
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
49852
+ TRANSACTION (1.1ms) ROLLBACK
49853
+ TRANSACTION (1.0ms) BEGIN
49854
+  (0.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49855
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d2110d4-361c-40d2-aeaf-9ddde4900ccf"], ["LIMIT", 1]]
49856
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
49857
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "1d2110d4-361c-40d2-aeaf-9ddde4900ccf"], ["subscription_group_id", "cc7d6fc2-e460-4897-9d55-e218e2cbb73b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1d2110d4-361c-40d2-aeaf-9ddde4900ccf\",\n subscriptionGroupId: \"cc7d6fc2-e460-4897-9d55-e218e2cbb73b\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:02.545296"], ["updated_at", "2021-04-21 20:56:02.545296"]]
49858
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49859
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49860
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d2110d4-361c-40d2-aeaf-9ddde4900ccf"], ["LIMIT", 1]]
49861
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49862
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.5ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"1d2110d4-361c-40d2-aeaf-9ddde4900ccf\",\n subscriptionGroupId: \"cc7d6fc2-e460-4897-9d55-e218e2cbb73b\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-21 20:56:02.554767"], ["id", "1d2110d4-361c-40d2-aeaf-9ddde4900ccf"]]
49863
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
49864
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
49865
+ TRANSACTION (1.2ms) ROLLBACK
49866
+ TRANSACTION (1.2ms) BEGIN
49867
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49868
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bc35cd15-e0d9-49b8-a67e-a562954b7438"], ["LIMIT", 1]]
49869
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49870
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.8ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "bc35cd15-e0d9-49b8-a67e-a562954b7438"], ["subscription_group_id", "3c45e7b8-a627-41f9-9e59-90ce692aab44"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"bc35cd15-e0d9-49b8-a67e-a562954b7438\",\n subscriptionGroupId: \"3c45e7b8-a627-41f9-9e59-90ce692aab44\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:56:02.573689"], ["updated_at", "2021-04-21 20:56:02.573689"]]
49871
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49872
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49873
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bc35cd15-e0d9-49b8-a67e-a562954b7438"], ["LIMIT", 1]]
49874
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49875
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.6ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"bc35cd15-e0d9-49b8-a67e-a562954b7438\",\n subscriptionGroupId: \"3c45e7b8-a627-41f9-9e59-90ce692aab44\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-21 20:56:02.582613"], ["id", "bc35cd15-e0d9-49b8-a67e-a562954b7438"]]
49876
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49877
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
49878
+ TRANSACTION (1.8ms) ROLLBACK
49879
+ TRANSACTION (1.6ms) BEGIN
49880
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8a4602e3-3919-455f-8ccd-672689250a23"], ["LIMIT", 1]]
49881
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49882
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.2ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "8a4602e3-3919-455f-8ccd-672689250a23"], ["subscription_group_id", "bd80145a-5831-48a3-885b-49e9beb4950d"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"8a4602e3-3919-455f-8ccd-672689250a23\",\n subscriptionGroupId: \"bd80145a-5831-48a3-885b-49e9beb4950d\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.310842"], ["updated_at", "2021-04-21 20:57:59.310842"]]
49883
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49884
+ TRANSACTION (1.1ms) ROLLBACK
49885
+ TRANSACTION (1.7ms) BEGIN
49886
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49887
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "386b28ce-2e82-4bf7-8203-9e5c6afba082"], ["LIMIT", 1]]
49888
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49889
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "386b28ce-2e82-4bf7-8203-9e5c6afba082"], ["subscription_group_id", "f42c3dbe-afbe-4cc9-a429-58ca251768b5"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"386b28ce-2e82-4bf7-8203-9e5c6afba082\",\n subscriptionGroupId: \"f42c3dbe-afbe-4cc9-a429-58ca251768b5\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.382780"], ["updated_at", "2021-04-21 20:57:59.382780"]]
49890
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
49891
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49892
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "386b28ce-2e82-4bf7-8203-9e5c6afba082"], ["LIMIT", 1]]
49893
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49894
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.7ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-21 20:57:59.392522"], ["id", "386b28ce-2e82-4bf7-8203-9e5c6afba082"]]
49895
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49896
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49897
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "386b28ce-2e82-4bf7-8203-9e5c6afba082"], ["LIMIT", 1]]
49898
+ TRANSACTION (1.4ms) ROLLBACK
49899
+ TRANSACTION (1.4ms) BEGIN
49900
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49901
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "411357ed-e7ec-4d07-b953-bfb9f7061dda"], ["LIMIT", 1]]
49902
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49903
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "411357ed-e7ec-4d07-b953-bfb9f7061dda"], ["subscription_group_id", "fc4f0b9b-98b7-489c-9bab-cb65a2805874"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"411357ed-e7ec-4d07-b953-bfb9f7061dda\",\n subscriptionGroupId: \"fc4f0b9b-98b7-489c-9bab-cb65a2805874\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.416183"], ["updated_at", "2021-04-21 20:57:59.416183"]]
49904
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
49905
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49906
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "411357ed-e7ec-4d07-b953-bfb9f7061dda"], ["LIMIT", 1]]
49907
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49908
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.5ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-21 20:57:59.425709"], ["id", "411357ed-e7ec-4d07-b953-bfb9f7061dda"]]
49909
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49910
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49911
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "411357ed-e7ec-4d07-b953-bfb9f7061dda"], ["LIMIT", 1]]
49912
+ TRANSACTION (1.2ms) ROLLBACK
49913
+ TRANSACTION (1.3ms) BEGIN
49914
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49915
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e49bba52-3111-45ca-8c7d-ed6af8c2441d"], ["LIMIT", 1]]
49916
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49917
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "e49bba52-3111-45ca-8c7d-ed6af8c2441d"], ["subscription_group_id", "184dccad-7c30-4654-9e7a-7a02fcce1b12"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"e49bba52-3111-45ca-8c7d-ed6af8c2441d\",\n subscriptionGroupId: \"184dccad-7c30-4654-9e7a-7a02fcce1b12\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.447882"], ["updated_at", "2021-04-21 20:57:59.447882"]]
49918
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49919
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49920
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e49bba52-3111-45ca-8c7d-ed6af8c2441d"], ["LIMIT", 1]]
49921
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49922
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.5ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "query ($id: UUID!) {\n foo (id: $id) {\n a_field_that_does_not_exist\n }\n}\n"], ["updated_at", "2021-04-21 20:57:59.457142"], ["id", "e49bba52-3111-45ca-8c7d-ed6af8c2441d"]]
49923
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49924
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49925
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e49bba52-3111-45ca-8c7d-ed6af8c2441d"], ["LIMIT", 1]]
49926
+ TRANSACTION (1.3ms) ROLLBACK
49927
+ TRANSACTION (1.1ms) BEGIN
49928
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49929
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "75e168f4-1604-4b81-a5c6-50b3a3ca39d0"], ["LIMIT", 1]]
49930
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49931
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.5ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "75e168f4-1604-4b81-a5c6-50b3a3ca39d0"], ["subscription_group_id", "04d7afe3-61c6-41b5-bfc1-3348599cab2a"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"75e168f4-1604-4b81-a5c6-50b3a3ca39d0\",\n subscriptionGroupId: \"04d7afe3-61c6-41b5-bfc1-3348599cab2a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.478381"], ["updated_at", "2021-04-21 20:57:59.478381"]]
49932
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
49933
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49934
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "75e168f4-1604-4b81-a5c6-50b3a3ca39d0"], ["LIMIT", 1]]
49935
+  (3.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49936
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bed10058-a6f4-4c60-826f-1baa6e9d6bd6"], ["LIMIT", 1]]
49937
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49938
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.2ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "bed10058-a6f4-4c60-826f-1baa6e9d6bd6"], ["subscription_group_id", "4029e16e-a62f-421f-b00a-90c68afdf64b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"bed10058-a6f4-4c60-826f-1baa6e9d6bd6\",\n subscriptionGroupId: \"4029e16e-a62f-421f-b00a-90c68afdf64b\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.496097"], ["updated_at", "2021-04-21 20:57:59.496097"]]
49939
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49940
+  (1.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49941
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bed10058-a6f4-4c60-826f-1baa6e9d6bd6"], ["LIMIT", 1]]
49942
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49943
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49944
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "75e168f4-1604-4b81-a5c6-50b3a3ca39d0"], ["LIMIT", 1]]
49945
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "75e168f4-1604-4b81-a5c6-50b3a3ca39d0"], ["LIMIT", 1]]
49946
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.0ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "b6fb2e05-974d-4a51-847c-fb732ed79a12"], ["LIMIT", 1]]
49947
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
49948
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.8ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "b6fb2e05-974d-4a51-847c-fb732ed79a12"], ["subscription_id", "75e168f4-1604-4b81-a5c6-50b3a3ca39d0"], ["partition_key", "04d7afe3-61c6-41b5-bfc1-3348599cab2a,4eaf11e0-20e5-4c54-a569-701ea8872e54"], ["topic_name", "some_topic"], ["company_uuid", "4eaf11e0-20e5-4c54-a569-701ea8872e54"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:57:59.524568"]]
49949
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
49950
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bed10058-a6f4-4c60-826f-1baa6e9d6bd6"], ["LIMIT", 1]]
49951
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bed10058-a6f4-4c60-826f-1baa6e9d6bd6"], ["LIMIT", 1]]
49952
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "7c61817d-ddf7-414d-83e0-63c2285e7786"], ["LIMIT", 1]]
49953
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
49954
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.7ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "7c61817d-ddf7-414d-83e0-63c2285e7786"], ["subscription_id", "bed10058-a6f4-4c60-826f-1baa6e9d6bd6"], ["partition_key", "4029e16e-a62f-421f-b00a-90c68afdf64b,4eaf11e0-20e5-4c54-a569-701ea8872e54"], ["topic_name", "some_topic"], ["company_uuid", "4eaf11e0-20e5-4c54-a569-701ea8872e54"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:57:59.539420"]]
49955
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49956
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
49957
+  (1.1ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
49958
+ TRANSACTION (1.5ms) ROLLBACK
49959
+ TRANSACTION (1.3ms) BEGIN
49960
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49961
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7648f9dd-365b-4b2e-b0d3-fad173d087f0"], ["LIMIT", 1]]
49962
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
49963
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "7648f9dd-365b-4b2e-b0d3-fad173d087f0"], ["subscription_group_id", "2f4f29cf-7b52-4cc4-9c77-ae5b1782180d"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"7648f9dd-365b-4b2e-b0d3-fad173d087f0\",\n subscriptionGroupId: \"2f4f29cf-7b52-4cc4-9c77-ae5b1782180d\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.561462"], ["updated_at", "2021-04-21 20:57:59.561462"]]
49964
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49965
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49966
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7648f9dd-365b-4b2e-b0d3-fad173d087f0"], ["LIMIT", 1]]
49967
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49968
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7648f9dd-365b-4b2e-b0d3-fad173d087f0"], ["LIMIT", 1]]
49969
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7648f9dd-365b-4b2e-b0d3-fad173d087f0"], ["LIMIT", 1]]
49970
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "30eee8fd-4c1c-4244-8f25-b595ed9cb76f"], ["LIMIT", 1]]
49971
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49972
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.5ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "30eee8fd-4c1c-4244-8f25-b595ed9cb76f"], ["subscription_id", "7648f9dd-365b-4b2e-b0d3-fad173d087f0"], ["partition_key", "2f4f29cf-7b52-4cc4-9c77-ae5b1782180d,07f2aac0-ac30-4ab8-81f9-66deeb07c240"], ["topic_name", "some_topic"], ["company_uuid", "07f2aac0-ac30-4ab8-81f9-66deeb07c240"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2021-04-21 20:57:59.579292"]]
49973
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49974
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "7648f9dd-365b-4b2e-b0d3-fad173d087f0"], ["LIMIT", 1]]
49975
+ TRANSACTION (1.4ms) ROLLBACK
49976
+ TRANSACTION (1.4ms) BEGIN
49977
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49978
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "83b362cb-8020-4ce1-8467-5e5791489141"], ["LIMIT", 1]]
49979
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49980
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.0ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "83b362cb-8020-4ce1-8467-5e5791489141"], ["subscription_group_id", "bfea76b4-2a20-4d4d-a7f8-648a15b05715"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"83b362cb-8020-4ce1-8467-5e5791489141\",\n subscriptionGroupId: \"bfea76b4-2a20-4d4d-a7f8-648a15b05715\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.603079"], ["updated_at", "2021-04-21 20:57:59.603079"]]
49981
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
49982
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49983
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "83b362cb-8020-4ce1-8467-5e5791489141"], ["LIMIT", 1]]
49984
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49985
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "83b362cb-8020-4ce1-8467-5e5791489141"], ["LIMIT", 1]]
49986
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "83b362cb-8020-4ce1-8467-5e5791489141"], ["LIMIT", 1]]
49987
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "7aa6b75b-45c8-4a8c-8c6c-8d14bd040ace"], ["LIMIT", 1]]
49988
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
49989
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.4ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "7aa6b75b-45c8-4a8c-8c6c-8d14bd040ace"], ["subscription_id", "83b362cb-8020-4ce1-8467-5e5791489141"], ["partition_key", "bfea76b4-2a20-4d4d-a7f8-648a15b05715,840f2948-d10d-4261-88cc-0ca4faf506fc"], ["topic_name", "some_topic"], ["company_uuid", "840f2948-d10d-4261-88cc-0ca4faf506fc"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:57:59.622278"]]
49990
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
49991
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.1ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "83b362cb-8020-4ce1-8467-5e5791489141"], ["LIMIT", 1]]
49992
+ TRANSACTION (1.3ms) ROLLBACK
49993
+ TRANSACTION (1.3ms) BEGIN
49994
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
49995
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.6ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "ed29fccc-060a-4367-891b-ef0709a6ec6a"], ["LIMIT", 1]]
49996
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
49997
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.5ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "ed29fccc-060a-4367-891b-ef0709a6ec6a"], ["subscription_id", "198975de-477b-45f5-8f08-4679ea39ab49"], ["partition_key", "6c53bb0d-454a-4f83-9b1e-cf0e99113959,db0f3c74-b6d2-4b86-aecd-4c4a62c51d77"], ["topic_name", "some_topic"], ["company_uuid", "db0f3c74-b6d2-4b86-aecd-4c4a62c51d77"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:57:59.643129"]]
49998
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
49999
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "198975de-477b-45f5-8f08-4679ea39ab49"], ["LIMIT", 1]]
50000
+ TRANSACTION (1.4ms) ROLLBACK
50001
+ TRANSACTION (1.4ms) BEGIN
50002
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50003
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "dd60a4cf-2f80-43f5-93e4-4eb47c655472"], ["LIMIT", 1]]
50004
+ TRANSACTION (2.4ms) SAVEPOINT active_record_1
50005
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.0ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "dd60a4cf-2f80-43f5-93e4-4eb47c655472"], ["subscription_group_id", "931313d9-39c9-4ae5-a32c-ec33615188f7"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"dd60a4cf-2f80-43f5-93e4-4eb47c655472\",\n subscriptionGroupId: \"931313d9-39c9-4ae5-a32c-ec33615188f7\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.682922"], ["updated_at", "2021-04-21 20:57:59.682922"]]
50006
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
50007
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50008
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "dd60a4cf-2f80-43f5-93e4-4eb47c655472"], ["LIMIT", 1]]
50009
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
50010
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
50011
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.8ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "36be59d5-817a-4aac-9558-f3328d0c2483"], ["LIMIT", 1]]
50012
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
50013
+ NulogyMessageBusProducer::SubscriptionEvent Create (2.1ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "36be59d5-817a-4aac-9558-f3328d0c2483"], ["subscription_id", "5debae8c-cd4c-491c-89fd-74eb0413dcc6"], ["partition_key", "bae34358-ded4-4947-a26d-b3f4b677cde5,529029bf-0b12-47d6-8f99-0c25254e8956"], ["topic_name", "configured_topic"], ["company_uuid", "529029bf-0b12-47d6-8f99-0c25254e8956"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:57:59.749748"]]
50014
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
50015
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "dd60a4cf-2f80-43f5-93e4-4eb47c655472"], ["LIMIT", 1]]
50016
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "dd60a4cf-2f80-43f5-93e4-4eb47c655472"], ["LIMIT", 1]]
50017
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "65eb6efd-4195-4728-b403-3d62d258bc8d"], ["LIMIT", 1]]
50018
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
50019
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.1ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "65eb6efd-4195-4728-b403-3d62d258bc8d"], ["subscription_id", "dd60a4cf-2f80-43f5-93e4-4eb47c655472"], ["partition_key", "931313d9-39c9-4ae5-a32c-ec33615188f7,529029bf-0b12-47d6-8f99-0c25254e8956"], ["topic_name", "self_serve_topic"], ["company_uuid", "529029bf-0b12-47d6-8f99-0c25254e8956"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:57:59.763991"]]
50020
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
50021
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
50022
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.1ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "dd60a4cf-2f80-43f5-93e4-4eb47c655472"], ["LIMIT", 1]]
50023
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.0ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "5debae8c-cd4c-491c-89fd-74eb0413dcc6"], ["LIMIT", 1]]
50024
+ TRANSACTION (1.1ms) ROLLBACK
50025
+ TRANSACTION (1.1ms) BEGIN
50026
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50027
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "46a21692-280d-4d4a-9fba-24ef8ce40d2e"], ["LIMIT", 1]]
50028
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
50029
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.8ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "46a21692-280d-4d4a-9fba-24ef8ce40d2e"], ["subscription_group_id", "5a9252b9-3487-4aec-a34a-c413fe705f36"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"46a21692-280d-4d4a-9fba-24ef8ce40d2e\",\n subscriptionGroupId: \"5a9252b9-3487-4aec-a34a-c413fe705f36\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:57:59.784639"], ["updated_at", "2021-04-21 20:57:59.784639"]]
50030
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
50031
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50032
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "46a21692-280d-4d4a-9fba-24ef8ce40d2e"], ["LIMIT", 1]]
50033
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
50034
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
50035
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "224c4328-7819-4c02-8982-cc10d254ad67"], ["LIMIT", 1]]
50036
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
50037
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.4ms) INSERT INTO "message_bus_subscription_events" ("id", "subscription_id", "partition_key", "topic_name", "company_uuid", "event_json", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["id", "224c4328-7819-4c02-8982-cc10d254ad67"], ["subscription_id", "46a21692-280d-4d4a-9fba-24ef8ce40d2e"], ["partition_key", "e86d698c-198c-471b-a4a2-a974bce26b9a,8303383e-97b2-4f7b-8bec-d23dfa09fd88"], ["topic_name", "configured_topic"], ["company_uuid", "8303383e-97b2-4f7b-8bec-d23dfa09fd88"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2021-04-21 20:57:59.801523"]]
50038
+ TRANSACTION (0.9ms) RELEASE SAVEPOINT active_record_1
50039
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
50040
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "46a21692-280d-4d4a-9fba-24ef8ce40d2e"], ["LIMIT", 1]]
50041
+ TRANSACTION (1.0ms) ROLLBACK
50042
+ TRANSACTION (1.7ms) BEGIN
50043
+  (9.2ms) TRUNCATE message_bus_subscription_events
50044
+  (5.9ms) TRUNCATE schema_migrations
50045
+  (5.3ms) TRUNCATE ar_internal_metadata
50046
+  (8.2ms) TRUNCATE message_bus_subscriptions
50047
+  (7.0ms) TRUNCATE message_bus_subscription_events
50048
+  (6.9ms) TRUNCATE message_bus_subscriptions
50049
+ TRANSACTION (3.9ms) ROLLBACK
50050
+ TRANSACTION (1.5ms) BEGIN
50051
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50052
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9ef8190c-2acd-4fab-a580-a36773471f76"], ["LIMIT", 1]]
50053
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
50054
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.3ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "9ef8190c-2acd-4fab-a580-a36773471f76"], ["subscription_group_id", "1a36f14c-3157-4716-ab01-17ab1baf986b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9ef8190c-2acd-4fab-a580-a36773471f76\",\n subscriptionGroupId: \"1a36f14c-3157-4716-ab01-17ab1baf986b\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:58:00.699015"], ["updated_at", "2021-04-21 20:58:00.699015"]]
50055
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
50056
+  (3.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50057
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9ef8190c-2acd-4fab-a580-a36773471f76"], ["LIMIT", 1]]
50058
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
50059
+ TRANSACTION (1.3ms) ROLLBACK
50060
+ TRANSACTION (1.3ms) BEGIN
50061
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50062
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8fd6327d-0020-43ad-af7f-39fc2401e135"], ["LIMIT", 1]]
50063
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
50064
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "8fd6327d-0020-43ad-af7f-39fc2401e135"], ["subscription_group_id", "6363b53a-5da6-45cd-b01a-3f6a05a39595"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"8fd6327d-0020-43ad-af7f-39fc2401e135\",\n subscriptionGroupId: \"6363b53a-5da6-45cd-b01a-3f6a05a39595\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:58:00.727589"], ["updated_at", "2021-04-21 20:58:00.727589"]]
50065
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
50066
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50067
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8fd6327d-0020-43ad-af7f-39fc2401e135"], ["LIMIT", 1]]
50068
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
50069
+ TRANSACTION (1.3ms) ROLLBACK
50070
+ TRANSACTION (1.3ms) BEGIN
50071
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50072
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "44e40a91-64db-4c53-b530-3a62ea834e68"], ["LIMIT", 1]]
50073
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
50074
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "44e40a91-64db-4c53-b530-3a62ea834e68"], ["subscription_group_id", "4bdb8959-2380-48c7-a9a8-a2e6f1c2d474"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"44e40a91-64db-4c53-b530-3a62ea834e68\",\n subscriptionGroupId: \"4bdb8959-2380-48c7-a9a8-a2e6f1c2d474\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:58:00.751362"], ["updated_at", "2021-04-21 20:58:00.751362"]]
50075
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
50076
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50077
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "44e40a91-64db-4c53-b530-3a62ea834e68"], ["LIMIT", 1]]
50078
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50079
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "30f92c74-19c4-4c52-aae7-099d87960cad"], ["LIMIT", 1]]
50080
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
50081
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.6ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "30f92c74-19c4-4c52-aae7-099d87960cad"], ["subscription_group_id", "dadea003-4572-4c48-b712-aeebe80c34c4"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"30f92c74-19c4-4c52-aae7-099d87960cad\",\n subscriptionGroupId: \"dadea003-4572-4c48-b712-aeebe80c34c4\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:58:00.766789"], ["updated_at", "2021-04-21 20:58:00.766789"]]
50082
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
50083
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50084
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "30f92c74-19c4-4c52-aae7-099d87960cad"], ["LIMIT", 1]]
50085
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50086
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fd25a9ff-31c2-472a-b5b8-8e7b6f85748a"], ["LIMIT", 1]]
50087
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
50088
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.4ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "fd25a9ff-31c2-472a-b5b8-8e7b6f85748a"], ["subscription_group_id", "2ae19f37-99ec-4c06-9c96-0be9c9dbbc5a"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"fd25a9ff-31c2-472a-b5b8-8e7b6f85748a\",\n subscriptionGroupId: \"2ae19f37-99ec-4c06-9c96-0be9c9dbbc5a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:58:00.781614"], ["updated_at", "2021-04-21 20:58:00.781614"]]
50089
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
50090
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50091
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fd25a9ff-31c2-472a-b5b8-8e7b6f85748a"], ["LIMIT", 1]]
50092
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
50093
+ TRANSACTION (1.2ms) ROLLBACK
50094
+ TRANSACTION (1.6ms) BEGIN
50095
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."event_type" = $1 AND "message_bus_subscriptions"."schema_key" = $2 [["event_type", "testCreated"], ["schema_key", "test"]]
50096
+ TRANSACTION (1.7ms) ROLLBACK
50097
+ TRANSACTION (2.1ms) BEGIN
50098
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50099
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6dea0dd0-a624-49ff-8cbd-d917bb610734"], ["LIMIT", 1]]
50100
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
50101
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "6dea0dd0-a624-49ff-8cbd-d917bb610734"], ["subscription_group_id", "fed05ade-2381-4fa9-9d57-acc84a65208e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"6dea0dd0-a624-49ff-8cbd-d917bb610734\",\n subscriptionGroupId: \"fed05ade-2381-4fa9-9d57-acc84a65208e\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:58:00.818634"], ["updated_at", "2021-04-21 20:58:00.818634"]]
50102
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
50103
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50104
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6dea0dd0-a624-49ff-8cbd-d917bb610734"], ["LIMIT", 1]]
50105
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
50106
+ TRANSACTION (1.5ms) ROLLBACK
50107
+ TRANSACTION (1.5ms) BEGIN
50108
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50109
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "73f3434d-41db-4731-a1d4-a7fe011b2c83"], ["LIMIT", 1]]
50110
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
50111
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "73f3434d-41db-4731-a1d4-a7fe011b2c83"], ["subscription_group_id", "7efa61a7-524b-42d9-a97a-a33875f71978"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"73f3434d-41db-4731-a1d4-a7fe011b2c83\",\n subscriptionGroupId: \"7efa61a7-524b-42d9-a97a-a33875f71978\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:58:00.843567"], ["updated_at", "2021-04-21 20:58:00.843567"]]
50112
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
50113
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50114
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "73f3434d-41db-4731-a1d4-a7fe011b2c83"], ["LIMIT", 1]]
50115
+ TRANSACTION (2.0ms) SAVEPOINT active_record_1
50116
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.6ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"73f3434d-41db-4731-a1d4-a7fe011b2c83\",\n subscriptionGroupId: \"7efa61a7-524b-42d9-a97a-a33875f71978\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-21 20:58:00.852657"], ["id", "73f3434d-41db-4731-a1d4-a7fe011b2c83"]]
50117
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
50118
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
50119
+ TRANSACTION (1.3ms) ROLLBACK
50120
+ TRANSACTION (1.3ms) BEGIN
50121
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50122
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "eeda487e-0485-4380-b802-cae55f7cb919"], ["LIMIT", 1]]
50123
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
50124
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.7ms) INSERT INTO "message_bus_subscriptions" ("id", "subscription_group_id", "event_type", "topic_name", "query", "schema_key", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", "eeda487e-0485-4380-b802-cae55f7cb919"], ["subscription_group_id", "bdb4b060-9a8d-4ef5-86ba-ad6457d66f40"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"eeda487e-0485-4380-b802-cae55f7cb919\",\n subscriptionGroupId: \"bdb4b060-9a8d-4ef5-86ba-ad6457d66f40\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2021-04-21 20:58:00.874090"], ["updated_at", "2021-04-21 20:58:00.874090"]]
50125
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
50126
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
50127
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "eeda487e-0485-4380-b802-cae55f7cb919"], ["LIMIT", 1]]
50128
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
50129
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.6ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"eeda487e-0485-4380-b802-cae55f7cb919\",\n subscriptionGroupId: \"bdb4b060-9a8d-4ef5-86ba-ad6457d66f40\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2021-04-21 20:58:00.882975"], ["id", "eeda487e-0485-4380-b802-cae55f7cb919"]]
50130
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
50131
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
50132
+ TRANSACTION (1.4ms) ROLLBACK
50133
+ TRANSACTION (1.1ms) BEGIN
50134
+  (9.4ms) TRUNCATE message_bus_subscription_events
50135
+  (4.8ms) TRUNCATE schema_migrations
50136
+  (5.0ms) TRUNCATE ar_internal_metadata
50137
+  (5.9ms) TRUNCATE message_bus_subscriptions
50138
+  (5.2ms) TRUNCATE message_bus_subscription_events
50139
+  (5.0ms) TRUNCATE message_bus_subscriptions
50140
+ SQL (7.6ms) SELECT slot_name FROM pg_replication_slots
50141
+ 
50142
+ TRANSACTION (4.0ms) ROLLBACK
50143
+ TRANSACTION (1.0ms) BEGIN
50144
+  (7.5ms) TRUNCATE message_bus_subscription_events
50145
+  (5.0ms) TRUNCATE schema_migrations
50146
+  (4.7ms) TRUNCATE ar_internal_metadata
50147
+  (6.1ms) TRUNCATE message_bus_subscriptions
50148
+  (6.2ms) TRUNCATE message_bus_subscription_events
50149
+  (6.0ms) TRUNCATE message_bus_subscriptions
50150
+ SQL (2.9ms) SELECT slot_name FROM pg_replication_slots
50151
+ 
50152
+ TRANSACTION (4.3ms) ROLLBACK
50153
+ TRANSACTION (1.2ms) BEGIN
50154
+  (8.0ms) TRUNCATE message_bus_subscription_events
50155
+  (4.9ms) TRUNCATE schema_migrations
50156
+  (4.6ms) TRUNCATE ar_internal_metadata
50157
+  (6.1ms) TRUNCATE message_bus_subscriptions
50158
+  (6.0ms) TRUNCATE message_bus_subscription_events
50159
+  (6.0ms) TRUNCATE message_bus_subscriptions
50160
+ SQL (4.7ms) SELECT slot_name FROM pg_replication_slots
50161
+ 
50162
+ TRANSACTION (2.9ms) ROLLBACK
50163
+ TRANSACTION (1.3ms) BEGIN
50164
+  (7.2ms) TRUNCATE message_bus_subscription_events
50165
+  (4.5ms) TRUNCATE schema_migrations
50166
+  (4.2ms) TRUNCATE ar_internal_metadata
50167
+  (6.5ms) TRUNCATE message_bus_subscriptions
50168
+  (5.3ms) TRUNCATE message_bus_subscription_events
50169
+  (5.3ms) TRUNCATE message_bus_subscriptions
50170
+ SQL (2.5ms) SELECT slot_name FROM pg_replication_slots
50171
+ 
50172
+ TRANSACTION (3.8ms) ROLLBACK
50173
+ TRANSACTION (2.3ms) BEGIN
50174
+  (8.2ms) TRUNCATE message_bus_subscription_events
50175
+  (6.2ms) TRUNCATE schema_migrations
50176
+  (9.5ms) TRUNCATE ar_internal_metadata
50177
+  (8.9ms) TRUNCATE message_bus_subscriptions
50178
+  (7.6ms) TRUNCATE message_bus_subscription_events
50179
+  (8.5ms) TRUNCATE message_bus_subscriptions
50180
+ SQL (3.5ms) SELECT slot_name FROM pg_replication_slots
50181
+ 
50182
+ TRANSACTION (4.0ms) ROLLBACK
50183
+ TRANSACTION (1.2ms) BEGIN
50184
+  (7.4ms) TRUNCATE message_bus_subscription_events
50185
+  (5.8ms) TRUNCATE schema_migrations
50186
+  (5.7ms) TRUNCATE ar_internal_metadata
50187
+  (7.3ms) TRUNCATE message_bus_subscriptions
50188
+  (7.1ms) TRUNCATE message_bus_subscription_events
50189
+  (6.7ms) TRUNCATE message_bus_subscriptions
50190
+ SQL (2.3ms) SELECT slot_name FROM pg_replication_slots
50191
+ 
50192
+ TRANSACTION (4.2ms) ROLLBACK
50193
+ TRANSACTION (1.3ms) BEGIN
50194
+  (6.7ms) TRUNCATE message_bus_subscription_events
50195
+  (4.5ms) TRUNCATE schema_migrations
50196
+  (4.3ms) TRUNCATE ar_internal_metadata
50197
+  (5.8ms) TRUNCATE message_bus_subscriptions
50198
+  (5.8ms) TRUNCATE message_bus_subscription_events
50199
+  (6.1ms) TRUNCATE message_bus_subscriptions
50200
+ SQL (3.2ms) SELECT slot_name FROM pg_replication_slots
50201
+ 
50202
+ TRANSACTION (5.9ms) ROLLBACK
50203
+ TRANSACTION (1.3ms) BEGIN
50204
+  (7.2ms) TRUNCATE message_bus_subscription_events
50205
+  (4.9ms) TRUNCATE schema_migrations
50206
+  (4.5ms) TRUNCATE ar_internal_metadata
50207
+  (6.0ms) TRUNCATE message_bus_subscriptions
50208
+  (6.5ms) TRUNCATE message_bus_subscription_events
50209
+  (6.4ms) TRUNCATE message_bus_subscriptions
50210
+ SQL (2.5ms) SELECT slot_name FROM pg_replication_slots
50211
+ 
50212
+ TRANSACTION (5.1ms) ROLLBACK
50213
+ TRANSACTION (1.1ms) BEGIN
50214
+  (14.6ms) TRUNCATE message_bus_subscription_events
50215
+  (5.5ms) TRUNCATE schema_migrations
50216
+  (5.0ms) TRUNCATE ar_internal_metadata
50217
+  (6.7ms) TRUNCATE message_bus_subscriptions
50218
+  (9.3ms) TRUNCATE message_bus_subscription_events
50219
+  (6.3ms) TRUNCATE message_bus_subscriptions
50220
+ SQL (3.2ms) SELECT slot_name FROM pg_replication_slots
50221
+ 
50222
+ TRANSACTION (6.6ms) ROLLBACK
50223
+ TRANSACTION (1.3ms) BEGIN
50224
+  (8.0ms) TRUNCATE message_bus_subscription_events
50225
+  (4.9ms) TRUNCATE schema_migrations
50226
+  (4.4ms) TRUNCATE ar_internal_metadata
50227
+  (5.6ms) TRUNCATE message_bus_subscriptions
50228
+  (5.6ms) TRUNCATE message_bus_subscription_events
50229
+  (5.2ms) TRUNCATE message_bus_subscriptions
50230
+ SQL (2.4ms) SELECT slot_name FROM pg_replication_slots
50231
+