nulogy_message_bus_producer 5.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,859 +1,2112 @@
1
+ TRANSACTION (2.5ms) BEGIN
2
+  (7.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
3
+ TRANSACTION (3.6ms) ROLLBACK
4
+ TRANSACTION (2.5ms) BEGIN
5
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
6
+ TRANSACTION (2.0ms) ROLLBACK
1
7
  TRANSACTION (2.3ms) BEGIN
2
- TRANSACTION (1.9ms) ROLLBACK
3
- TRANSACTION (1.6ms) BEGIN
4
- TRANSACTION (3.3ms) ROLLBACK
8
+  (4.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
9
+ TRANSACTION (2.8ms) ROLLBACK
10
+ TRANSACTION (2.2ms) BEGIN
11
+  (3.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
12
+ TRANSACTION (2.3ms) ROLLBACK
13
+ TRANSACTION (3.2ms) BEGIN
14
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
15
+ TRANSACTION (2.7ms) ROLLBACK
16
+ TRANSACTION (5.2ms) BEGIN
17
+  (4.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
18
+ TRANSACTION (3.5ms) ROLLBACK
19
+ TRANSACTION (3.5ms) BEGIN
20
+ TRANSACTION (2.6ms) ROLLBACK
21
+ TRANSACTION (9.8ms) BEGIN
22
+  (28.5ms) TRUNCATE message_bus_subscription_events
23
+  (21.4ms) TRUNCATE message_bus_subscriptions
24
+  (18.1ms) TRUNCATE schema_migrations
25
+  (19.7ms) TRUNCATE ar_internal_metadata
26
+  (27.8ms) TRUNCATE message_bus_subscription_events
27
+  (21.9ms) TRUNCATE message_bus_subscriptions
28
+ TRANSACTION (80.1ms) ROLLBACK
29
+ TRANSACTION (4.5ms) BEGIN
30
+  (5.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
31
+ TRANSACTION (7.7ms) ROLLBACK
32
+ TRANSACTION (13.9ms) BEGIN
33
+  (4.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
34
+ TRANSACTION (3.0ms) ROLLBACK
35
+ TRANSACTION (3.6ms) BEGIN
36
+  (4.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
37
+ TRANSACTION (5.5ms) ROLLBACK
38
+ TRANSACTION (3.3ms) BEGIN
39
+  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
40
+ TRANSACTION (5.9ms) ROLLBACK
41
+ TRANSACTION (3.2ms) BEGIN
42
+  (4.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
43
+ TRANSACTION (2.6ms) ROLLBACK
44
+ TRANSACTION (3.0ms) BEGIN
45
+  (3.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
46
+ TRANSACTION (10.0ms) ROLLBACK
47
+ TRANSACTION (2.8ms) BEGIN
48
+  (3.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
49
+ TRANSACTION (2.8ms) ROLLBACK
50
+ TRANSACTION (3.6ms) BEGIN
51
+  (4.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
52
+ TRANSACTION (3.1ms) ROLLBACK
5
53
  TRANSACTION (3.1ms) BEGIN
6
- TRANSACTION (2.0ms) ROLLBACK
7
- TRANSACTION (1.6ms) BEGIN
54
+  (2.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
55
+ TRANSACTION (4.3ms) ROLLBACK
56
+ TRANSACTION (2.5ms) BEGIN
57
+  (4.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
58
+ TRANSACTION (4.3ms) ROLLBACK
59
+ TRANSACTION (5.0ms) BEGIN
60
+  (3.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
8
61
  TRANSACTION (2.3ms) ROLLBACK
9
- TRANSACTION (2.2ms) BEGIN
62
+ TRANSACTION (3.2ms) BEGIN
63
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
64
+ TRANSACTION (4.4ms) ROLLBACK
65
+ TRANSACTION (1.8ms) BEGIN
66
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
67
+ TRANSACTION (2.3ms) ROLLBACK
68
+ TRANSACTION (3.6ms) BEGIN
69
+  (9.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
70
+ TRANSACTION (4.6ms) ROLLBACK
71
+ TRANSACTION (2.4ms) BEGIN
72
+  (21.7ms) TRUNCATE message_bus_subscription_events
73
+  (19.6ms) TRUNCATE message_bus_subscriptions
74
+  (12.0ms) TRUNCATE schema_migrations
75
+  (12.2ms) TRUNCATE ar_internal_metadata
76
+  (21.2ms) TRUNCATE message_bus_subscription_events
77
+  (13.8ms) TRUNCATE message_bus_subscriptions
78
+ TRANSACTION (8.5ms) ROLLBACK
79
+ TRANSACTION (2.7ms) BEGIN
80
+ TRANSACTION (2.6ms) ROLLBACK
81
+ TRANSACTION (3.6ms) BEGIN
82
+  (3.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
83
+ TRANSACTION (4.2ms) ROLLBACK
84
+ TRANSACTION (6.0ms) BEGIN
85
+  (3.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
86
+ TRANSACTION (3.8ms) ROLLBACK
87
+ TRANSACTION (2.9ms) BEGIN
88
+  (2.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
10
89
  TRANSACTION (2.2ms) ROLLBACK
11
- TRANSACTION (15.7ms) BEGIN
12
- TRANSACTION (3.2ms) ROLLBACK
13
- TRANSACTION (3.0ms) BEGIN
90
+ TRANSACTION (2.0ms) BEGIN
91
+  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
92
+ TRANSACTION (3.6ms) ROLLBACK
93
+ TRANSACTION (1.6ms) BEGIN
94
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
95
+ TRANSACTION (3.5ms) ROLLBACK
96
+ TRANSACTION (6.3ms) BEGIN
97
+  (3.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
98
+ TRANSACTION (2.8ms) ROLLBACK
99
+ TRANSACTION (2.5ms) BEGIN
100
+  (4.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
14
101
  TRANSACTION (2.1ms) ROLLBACK
15
- TRANSACTION (3.5ms) BEGIN
16
- TRANSACTION (3.1ms) ROLLBACK
102
+ TRANSACTION (2.5ms) BEGIN
103
+  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
104
+ TRANSACTION (2.3ms) ROLLBACK
105
+ TRANSACTION (2.9ms) BEGIN
106
+  (12.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
107
+ TRANSACTION (2.9ms) ROLLBACK
108
+ TRANSACTION (1.3ms) BEGIN
109
+  (13.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
110
+ NulogyMessageBusProducer::SelfServeSubscription Load (6.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "567d458d-d3f5-463d-b0f2-00fa80689ba8"], ["LIMIT", 1]]
111
+ TRANSACTION (3.2ms) SAVEPOINT active_record_1
112
+ NulogyMessageBusProducer::SelfServeSubscription Create (19.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", "567d458d-d3f5-463d-b0f2-00fa80689ba8"], ["subscription_group_id", "61af00a2-fd9e-4c23-ae5e-edaae47eb37b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"567d458d-d3f5-463d-b0f2-00fa80689ba8\",\n subscriptionGroupId: \"61af00a2-fd9e-4c23-ae5e-edaae47eb37b\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:04:31.851315"], ["updated_at", "2022-04-06 15:04:31.851315"]]
113
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
114
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
115
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "567d458d-d3f5-463d-b0f2-00fa80689ba8"], ["LIMIT", 1]]
116
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
117
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "567d458d-d3f5-463d-b0f2-00fa80689ba8"], ["LIMIT", 1]]
118
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "567d458d-d3f5-463d-b0f2-00fa80689ba8"], ["LIMIT", 1]]
119
+ 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", "85efebc1-1c1f-40d3-bb63-126d79d263c3"], ["LIMIT", 1]]
120
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
121
+ NulogyMessageBusProducer::SubscriptionEvent Create (4.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", "85efebc1-1c1f-40d3-bb63-126d79d263c3"], ["subscription_id", "567d458d-d3f5-463d-b0f2-00fa80689ba8"], ["partition_key", "61af00a2-fd9e-4c23-ae5e-edaae47eb37b,12b95f19-a6ae-4a01-b48e-39f427b63d2d"], ["topic_name", "some_topic"], ["company_uuid", "12b95f19-a6ae-4a01-b48e-39f427b63d2d"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 15:04:31.912432"]]
122
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
123
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.8ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "567d458d-d3f5-463d-b0f2-00fa80689ba8"], ["LIMIT", 1]]
124
+ TRANSACTION (4.4ms) ROLLBACK
125
+ TRANSACTION (3.9ms) BEGIN
126
+  (3.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
127
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "75714331-f86c-4f27-8694-7a60e66fb8ec"], ["LIMIT", 1]]
128
+ TRANSACTION (3.0ms) SAVEPOINT active_record_1
129
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "75714331-f86c-4f27-8694-7a60e66fb8ec"], ["subscription_group_id", "345f82fa-f540-43a3-8ba9-b13a913b10f7"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"75714331-f86c-4f27-8694-7a60e66fb8ec\",\n subscriptionGroupId: \"345f82fa-f540-43a3-8ba9-b13a913b10f7\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:57.144830"], ["updated_at", "2022-04-06 15:05:57.144830"]]
130
+ TRANSACTION (2.3ms) RELEASE SAVEPOINT active_record_1
131
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
132
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "75714331-f86c-4f27-8694-7a60e66fb8ec"], ["LIMIT", 1]]
133
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
134
+ NulogyMessageBusProducer::SelfServeSubscription Update (9.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", "2022-04-06 15:05:57.164563"], ["id", "75714331-f86c-4f27-8694-7a60e66fb8ec"]]
135
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
136
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
137
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "75714331-f86c-4f27-8694-7a60e66fb8ec"], ["LIMIT", 1]]
138
+ TRANSACTION (2.0ms) ROLLBACK
139
+ TRANSACTION (2.3ms) BEGIN
140
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
141
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ad4428ad-ab4e-435c-9c98-870c9a62cd25"], ["LIMIT", 1]]
142
+ TRANSACTION (2.4ms) SAVEPOINT active_record_1
143
+ NulogyMessageBusProducer::SelfServeSubscription Create (4.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", "ad4428ad-ab4e-435c-9c98-870c9a62cd25"], ["subscription_group_id", "94c67ad1-2f0b-4fd6-9fad-2d1dc9af5a83"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ad4428ad-ab4e-435c-9c98-870c9a62cd25\",\n subscriptionGroupId: \"94c67ad1-2f0b-4fd6-9fad-2d1dc9af5a83\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:57.244655"], ["updated_at", "2022-04-06 15:05:57.244655"]]
144
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
145
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
146
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ad4428ad-ab4e-435c-9c98-870c9a62cd25"], ["LIMIT", 1]]
147
+ TRANSACTION (4.2ms) SAVEPOINT active_record_1
148
+ NulogyMessageBusProducer::SelfServeSubscription Update (3.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", "2022-04-06 15:05:57.261500"], ["id", "ad4428ad-ab4e-435c-9c98-870c9a62cd25"]]
149
+ TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
150
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
151
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ad4428ad-ab4e-435c-9c98-870c9a62cd25"], ["LIMIT", 1]]
152
+ TRANSACTION (2.4ms) ROLLBACK
153
+ TRANSACTION (4.8ms) BEGIN
154
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
155
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c9038e6a-8acf-42f9-a857-493266bcb3ab"], ["LIMIT", 1]]
156
+ TRANSACTION (3.6ms) SAVEPOINT active_record_1
157
+ NulogyMessageBusProducer::SelfServeSubscription Create (4.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", "c9038e6a-8acf-42f9-a857-493266bcb3ab"], ["subscription_group_id", "1b5a6dba-5717-4f44-b818-71efc8536a28"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c9038e6a-8acf-42f9-a857-493266bcb3ab\",\n subscriptionGroupId: \"1b5a6dba-5717-4f44-b818-71efc8536a28\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:57.307917"], ["updated_at", "2022-04-06 15:05:57.307917"]]
158
+ TRANSACTION (2.8ms) RELEASE SAVEPOINT active_record_1
159
+  (3.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
160
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c9038e6a-8acf-42f9-a857-493266bcb3ab"], ["LIMIT", 1]]
161
+ TRANSACTION (2.9ms) SAVEPOINT active_record_1
162
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.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", "2022-04-06 15:05:57.332136"], ["id", "c9038e6a-8acf-42f9-a857-493266bcb3ab"]]
163
+ TRANSACTION (2.4ms) RELEASE SAVEPOINT active_record_1
164
+ NulogyMessageBusProducer::SelfServeSubscription Load (5.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"]]
165
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c9038e6a-8acf-42f9-a857-493266bcb3ab"], ["LIMIT", 1]]
166
+ TRANSACTION (4.0ms) ROLLBACK
167
+ TRANSACTION (2.0ms) BEGIN
168
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
169
+ NulogyMessageBusProducer::SubscriptionEvent Load (7.9ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "5ec2296b-1b36-4730-8639-58d0adc82156"], ["LIMIT", 1]]
170
+ TRANSACTION (2.7ms) SAVEPOINT active_record_1
171
+ 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", "5ec2296b-1b36-4730-8639-58d0adc82156"], ["subscription_id", "db64fc30-104c-41b4-8a05-db3a761291d1"], ["partition_key", "e1b0b2e2-edfb-4267-9da4-1024988ac7ed,719b8c76-3e04-4465-9741-b993266b47cb"], ["topic_name", "some_topic"], ["company_uuid", "719b8c76-3e04-4465-9741-b993266b47cb"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 15:05:57.409040"]]
172
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
173
+ 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", "db64fc30-104c-41b4-8a05-db3a761291d1"], ["LIMIT", 1]]
174
+ TRANSACTION (3.2ms) ROLLBACK
175
+ TRANSACTION (7.0ms) BEGIN
176
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
177
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c3d46abd-c94d-465e-97e8-eda9c7ec1e3f"], ["LIMIT", 1]]
178
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
179
+ NulogyMessageBusProducer::SelfServeSubscription Create (4.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", "c3d46abd-c94d-465e-97e8-eda9c7ec1e3f"], ["subscription_group_id", "05007e7b-1451-41a1-91bb-56ffbb4e6c62"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c3d46abd-c94d-465e-97e8-eda9c7ec1e3f\",\n subscriptionGroupId: \"05007e7b-1451-41a1-91bb-56ffbb4e6c62\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:57.457176"], ["updated_at", "2022-04-06 15:05:57.457176"]]
180
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
181
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
182
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c3d46abd-c94d-465e-97e8-eda9c7ec1e3f"], ["LIMIT", 1]]
183
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
184
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
185
+ NulogyMessageBusProducer::SubscriptionEvent Load (3.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "473aa562-6386-4cc2-bd7c-b13004c9847a"], ["LIMIT", 1]]
186
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
187
+ NulogyMessageBusProducer::SubscriptionEvent Create (2.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", "473aa562-6386-4cc2-bd7c-b13004c9847a"], ["subscription_id", "029f611a-ea58-4937-b7b3-b00149c8caa7"], ["partition_key", "99a602ab-a79f-450a-99c2-7b0be6f71e50,7b2befa5-e579-4ebe-a709-09c083ad9ad9"], ["topic_name", "configured_topic"], ["company_uuid", "7b2befa5-e579-4ebe-a709-09c083ad9ad9"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 15:05:57.486960"]]
188
+ TRANSACTION (3.6ms) RELEASE SAVEPOINT active_record_1
189
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c3d46abd-c94d-465e-97e8-eda9c7ec1e3f"], ["LIMIT", 1]]
190
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c3d46abd-c94d-465e-97e8-eda9c7ec1e3f"], ["LIMIT", 1]]
191
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.6ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "fab9cb68-d5e5-4b51-b2d6-7a96cca089c3"], ["LIMIT", 1]]
192
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
193
+ NulogyMessageBusProducer::SubscriptionEvent Create (2.9ms) 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", "fab9cb68-d5e5-4b51-b2d6-7a96cca089c3"], ["subscription_id", "c3d46abd-c94d-465e-97e8-eda9c7ec1e3f"], ["partition_key", "05007e7b-1451-41a1-91bb-56ffbb4e6c62,7b2befa5-e579-4ebe-a709-09c083ad9ad9"], ["topic_name", "self_serve_topic"], ["company_uuid", "7b2befa5-e579-4ebe-a709-09c083ad9ad9"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 15:05:57.509132"]]
194
+ TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
195
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
196
+ NulogyMessageBusProducer::SubscriptionEvent Load (3.8ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "c3d46abd-c94d-465e-97e8-eda9c7ec1e3f"], ["LIMIT", 1]]
197
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.7ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "029f611a-ea58-4937-b7b3-b00149c8caa7"], ["LIMIT", 1]]
198
+ TRANSACTION (3.5ms) ROLLBACK
199
+ TRANSACTION (2.3ms) BEGIN
200
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
201
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "86bd4d36-4681-4391-8909-89640163b81e"], ["LIMIT", 1]]
202
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
203
+ 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", "86bd4d36-4681-4391-8909-89640163b81e"], ["subscription_group_id", "4602df7d-a560-453f-abe7-46fd47b9467d"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"86bd4d36-4681-4391-8909-89640163b81e\",\n subscriptionGroupId: \"4602df7d-a560-453f-abe7-46fd47b9467d\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:57.545474"], ["updated_at", "2022-04-06 15:05:57.545474"]]
204
+ TRANSACTION (2.4ms) RELEASE SAVEPOINT active_record_1
205
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
206
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "86bd4d36-4681-4391-8909-89640163b81e"], ["LIMIT", 1]]
207
+  (4.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
208
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
209
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "7ef61ed0-9879-4e64-8fff-d3639591d0a5"], ["LIMIT", 1]]
210
+ TRANSACTION (2.6ms) SAVEPOINT active_record_1
211
+ NulogyMessageBusProducer::SubscriptionEvent Create (3.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", "7ef61ed0-9879-4e64-8fff-d3639591d0a5"], ["subscription_id", "86bd4d36-4681-4391-8909-89640163b81e"], ["partition_key", "4d311da1-fc5c-4ddb-879a-39e7fb2aa30e,76a3349f-4888-4324-8a27-4b42c4d10259"], ["topic_name", "configured_topic"], ["company_uuid", "76a3349f-4888-4324-8a27-4b42c4d10259"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 15:05:57.573509"]]
212
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
213
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
214
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.9ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "86bd4d36-4681-4391-8909-89640163b81e"], ["LIMIT", 1]]
215
+ TRANSACTION (1.6ms) ROLLBACK
216
+ TRANSACTION (1.7ms) BEGIN
217
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
218
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fbb97e7f-a295-4dc2-b3da-62b83b660046"], ["LIMIT", 1]]
219
+ TRANSACTION (2.5ms) SAVEPOINT active_record_1
220
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "fbb97e7f-a295-4dc2-b3da-62b83b660046"], ["subscription_group_id", "a92f4404-4d56-48c4-a6df-7fa2cd87ea77"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"fbb97e7f-a295-4dc2-b3da-62b83b660046\",\n subscriptionGroupId: \"a92f4404-4d56-48c4-a6df-7fa2cd87ea77\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:57.601605"], ["updated_at", "2022-04-06 15:05:57.601605"]]
221
+ TRANSACTION (2.6ms) RELEASE SAVEPOINT active_record_1
222
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
223
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fbb97e7f-a295-4dc2-b3da-62b83b660046"], ["LIMIT", 1]]
224
+ 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"]]
225
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fbb97e7f-a295-4dc2-b3da-62b83b660046"], ["LIMIT", 1]]
226
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fbb97e7f-a295-4dc2-b3da-62b83b660046"], ["LIMIT", 1]]
227
+ 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", "b3a62aaf-d580-4ce8-9b42-c5496a0d94d3"], ["LIMIT", 1]]
228
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
229
+ 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", "b3a62aaf-d580-4ce8-9b42-c5496a0d94d3"], ["subscription_id", "fbb97e7f-a295-4dc2-b3da-62b83b660046"], ["partition_key", "a92f4404-4d56-48c4-a6df-7fa2cd87ea77,d75a97b6-5aa3-4f78-bb29-912a84ed0ffe"], ["topic_name", "some_topic"], ["company_uuid", "d75a97b6-5aa3-4f78-bb29-912a84ed0ffe"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 15:05:57.631916"]]
230
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
231
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "fbb97e7f-a295-4dc2-b3da-62b83b660046"], ["LIMIT", 1]]
232
+ TRANSACTION (2.7ms) ROLLBACK
17
233
  TRANSACTION (2.1ms) BEGIN
234
+  (4.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
235
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d9ce6d1e-3da8-4795-a7ce-2c1dcd0d4e61"], ["LIMIT", 1]]
236
+ TRANSACTION (2.5ms) SAVEPOINT active_record_1
237
+ 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", "d9ce6d1e-3da8-4795-a7ce-2c1dcd0d4e61"], ["subscription_group_id", "79a6ccc0-ec2e-4fad-b5d0-0a9045a8159d"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d9ce6d1e-3da8-4795-a7ce-2c1dcd0d4e61\",\n subscriptionGroupId: \"79a6ccc0-ec2e-4fad-b5d0-0a9045a8159d\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:57.661764"], ["updated_at", "2022-04-06 15:05:57.661764"]]
238
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
239
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
240
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d9ce6d1e-3da8-4795-a7ce-2c1dcd0d4e61"], ["LIMIT", 1]]
241
+ 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"]]
242
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d9ce6d1e-3da8-4795-a7ce-2c1dcd0d4e61"], ["LIMIT", 1]]
243
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d9ce6d1e-3da8-4795-a7ce-2c1dcd0d4e61"], ["LIMIT", 1]]
244
+ 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", "0e434d1c-a33f-42f2-8de3-aa7b48865a14"], ["LIMIT", 1]]
245
+ TRANSACTION (3.7ms) SAVEPOINT active_record_1
246
+ NulogyMessageBusProducer::SubscriptionEvent Create (4.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", "0e434d1c-a33f-42f2-8de3-aa7b48865a14"], ["subscription_id", "d9ce6d1e-3da8-4795-a7ce-2c1dcd0d4e61"], ["partition_key", "79a6ccc0-ec2e-4fad-b5d0-0a9045a8159d,314e0445-3965-4b3b-ac44-12089ffca605"], ["topic_name", "some_topic"], ["company_uuid", "314e0445-3965-4b3b-ac44-12089ffca605"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2022-04-06 15:05:57.689324"]]
247
+ TRANSACTION (2.4ms) RELEASE SAVEPOINT active_record_1
248
+ 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", "d9ce6d1e-3da8-4795-a7ce-2c1dcd0d4e61"], ["LIMIT", 1]]
249
+ TRANSACTION (2.0ms) ROLLBACK
250
+ TRANSACTION (1.8ms) BEGIN
251
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
252
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0a65a81e-ef07-4629-a97b-f4033ac4c5f3"], ["LIMIT", 1]]
253
+ TRANSACTION (2.8ms) SAVEPOINT active_record_1
254
+ 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", "0a65a81e-ef07-4629-a97b-f4033ac4c5f3"], ["subscription_group_id", "80523676-45c6-4296-8ac3-c922d43ed9b6"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0a65a81e-ef07-4629-a97b-f4033ac4c5f3\",\n subscriptionGroupId: \"80523676-45c6-4296-8ac3-c922d43ed9b6\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:57.722177"], ["updated_at", "2022-04-06 15:05:57.722177"]]
255
+ TRANSACTION (2.0ms) RELEASE SAVEPOINT active_record_1
256
+  (2.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
257
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0a65a81e-ef07-4629-a97b-f4033ac4c5f3"], ["LIMIT", 1]]
258
+  (4.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
259
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "26d63120-2ff9-49ea-a7ca-8b5e80ca7962"], ["LIMIT", 1]]
260
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
261
+ 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", "26d63120-2ff9-49ea-a7ca-8b5e80ca7962"], ["subscription_group_id", "2b85e35c-686b-4932-93e8-b118cce3cbe6"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"26d63120-2ff9-49ea-a7ca-8b5e80ca7962\",\n subscriptionGroupId: \"2b85e35c-686b-4932-93e8-b118cce3cbe6\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:57.749099"], ["updated_at", "2022-04-06 15:05:57.749099"]]
262
+ TRANSACTION (2.6ms) RELEASE SAVEPOINT active_record_1
263
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
264
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "26d63120-2ff9-49ea-a7ca-8b5e80ca7962"], ["LIMIT", 1]]
265
+  (3.8ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
266
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.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"]]
267
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0a65a81e-ef07-4629-a97b-f4033ac4c5f3"], ["LIMIT", 1]]
268
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0a65a81e-ef07-4629-a97b-f4033ac4c5f3"], ["LIMIT", 1]]
269
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.8ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "41730186-4f09-48bb-bc9f-8dddafca9dd5"], ["LIMIT", 1]]
270
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
271
+ 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", "41730186-4f09-48bb-bc9f-8dddafca9dd5"], ["subscription_id", "0a65a81e-ef07-4629-a97b-f4033ac4c5f3"], ["partition_key", "80523676-45c6-4296-8ac3-c922d43ed9b6,66cdccbf-c71b-4571-a08b-5ca4d2bec4d8"], ["topic_name", "some_topic"], ["company_uuid", "66cdccbf-c71b-4571-a08b-5ca4d2bec4d8"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 15:05:57.783758"]]
272
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
273
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "26d63120-2ff9-49ea-a7ca-8b5e80ca7962"], ["LIMIT", 1]]
274
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "26d63120-2ff9-49ea-a7ca-8b5e80ca7962"], ["LIMIT", 1]]
275
+ 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", "9e3e423d-40ca-4351-af24-6a9774220494"], ["LIMIT", 1]]
276
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
277
+ 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", "9e3e423d-40ca-4351-af24-6a9774220494"], ["subscription_id", "26d63120-2ff9-49ea-a7ca-8b5e80ca7962"], ["partition_key", "2b85e35c-686b-4932-93e8-b118cce3cbe6,66cdccbf-c71b-4571-a08b-5ca4d2bec4d8"], ["topic_name", "some_topic"], ["company_uuid", "66cdccbf-c71b-4571-a08b-5ca4d2bec4d8"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 15:05:57.799792"]]
278
+ TRANSACTION (2.3ms) RELEASE SAVEPOINT active_record_1
279
+  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
280
+  (2.7ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
281
+ TRANSACTION (2.4ms) ROLLBACK
282
+ TRANSACTION (2.6ms) BEGIN
283
+  (36.7ms) TRUNCATE message_bus_subscription_events
284
+  (16.6ms) TRUNCATE message_bus_subscriptions
285
+  (13.0ms) TRUNCATE schema_migrations
286
+  (12.1ms) TRUNCATE ar_internal_metadata
287
+  (107.8ms) TRUNCATE message_bus_subscription_events
288
+  (13.9ms) TRUNCATE message_bus_subscriptions
289
+ TRANSACTION (20.5ms) ROLLBACK
290
+ TRANSACTION (2.9ms) BEGIN
291
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d0a7124d-5a11-4bae-a9b3-402f9f095580"], ["LIMIT", 1]]
292
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
293
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "d0a7124d-5a11-4bae-a9b3-402f9f095580"], ["subscription_group_id", "298ad5d3-2431-4002-b414-b8a2f7a5aa84"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"d0a7124d-5a11-4bae-a9b3-402f9f095580\",\n subscriptionGroupId: \"298ad5d3-2431-4002-b414-b8a2f7a5aa84\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:59.316609"], ["updated_at", "2022-04-06 15:05:59.316609"]]
294
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
18
295
  TRANSACTION (1.9ms) ROLLBACK
296
+ TRANSACTION (1.6ms) BEGIN
297
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
298
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cd59e43a-9855-4748-8f90-6849df504122"], ["LIMIT", 1]]
299
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
300
+ 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", "cd59e43a-9855-4748-8f90-6849df504122"], ["subscription_group_id", "44761a2a-2d9b-4581-9418-e173ba80f283"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"cd59e43a-9855-4748-8f90-6849df504122\",\n subscriptionGroupId: \"44761a2a-2d9b-4581-9418-e173ba80f283\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:59.354278"], ["updated_at", "2022-04-06 15:05:59.354278"]]
301
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
302
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
303
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cd59e43a-9855-4748-8f90-6849df504122"], ["LIMIT", 1]]
304
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
305
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "347222be-624e-4d25-a0cd-61f2d07b0c50"], ["LIMIT", 1]]
306
+ TRANSACTION (2.5ms) SAVEPOINT active_record_1
307
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "347222be-624e-4d25-a0cd-61f2d07b0c50"], ["subscription_group_id", "0945eae4-a6f8-4c95-9102-196c1676b3e8"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"347222be-624e-4d25-a0cd-61f2d07b0c50\",\n subscriptionGroupId: \"0945eae4-a6f8-4c95-9102-196c1676b3e8\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:59.377908"], ["updated_at", "2022-04-06 15:05:59.377908"]]
308
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
309
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
310
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "347222be-624e-4d25-a0cd-61f2d07b0c50"], ["LIMIT", 1]]
311
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
312
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "26f52f4e-3d58-43bd-ac3f-bd361e1300f5"], ["LIMIT", 1]]
313
+ TRANSACTION (2.7ms) SAVEPOINT active_record_1
314
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "26f52f4e-3d58-43bd-ac3f-bd361e1300f5"], ["subscription_group_id", "55a54f17-a7d6-4739-ae56-2a70410bc2da"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"26f52f4e-3d58-43bd-ac3f-bd361e1300f5\",\n subscriptionGroupId: \"55a54f17-a7d6-4739-ae56-2a70410bc2da\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:59.402215"], ["updated_at", "2022-04-06 15:05:59.402215"]]
315
+ TRANSACTION (3.2ms) RELEASE SAVEPOINT active_record_1
316
+  (2.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
317
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "26f52f4e-3d58-43bd-ac3f-bd361e1300f5"], ["LIMIT", 1]]
318
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.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"]]
319
+ TRANSACTION (1.5ms) ROLLBACK
19
320
  TRANSACTION (1.9ms) BEGIN
20
- TRANSACTION (1.6ms) ROLLBACK
21
- TRANSACTION (2.9ms) BEGIN
321
+ 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"]]
22
322
  TRANSACTION (3.1ms) ROLLBACK
23
- TRANSACTION (2.3ms) BEGIN
323
+ TRANSACTION (1.6ms) BEGIN
324
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
325
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4fad4320-afef-42be-88a9-77c04b548e23"], ["LIMIT", 1]]
326
+ TRANSACTION (3.8ms) SAVEPOINT active_record_1
327
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "4fad4320-afef-42be-88a9-77c04b548e23"], ["subscription_group_id", "aa729cc1-1717-42c4-bcfb-72d88657443e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"4fad4320-afef-42be-88a9-77c04b548e23\",\n subscriptionGroupId: \"aa729cc1-1717-42c4-bcfb-72d88657443e\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:59.455381"], ["updated_at", "2022-04-06 15:05:59.455381"]]
328
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
329
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
330
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4fad4320-afef-42be-88a9-77c04b548e23"], ["LIMIT", 1]]
331
+ 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"]]
24
332
  TRANSACTION (1.8ms) ROLLBACK
25
- TRANSACTION (4.2ms) BEGIN
26
- TRANSACTION (1.6ms) ROLLBACK
27
- TRANSACTION (3.7ms) BEGIN
28
- TRANSACTION (2.1ms) ROLLBACK
29
- TRANSACTION (1.5ms) BEGIN
333
+ TRANSACTION (1.8ms) BEGIN
334
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
335
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0ce8cb48-cdd8-432a-b2a9-452e7aabe175"], ["LIMIT", 1]]
336
+ TRANSACTION (2.6ms) SAVEPOINT active_record_1
337
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "0ce8cb48-cdd8-432a-b2a9-452e7aabe175"], ["subscription_group_id", "7ee9a3e4-e046-4b5f-baed-47142b03d572"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0ce8cb48-cdd8-432a-b2a9-452e7aabe175\",\n subscriptionGroupId: \"7ee9a3e4-e046-4b5f-baed-47142b03d572\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:59.504116"], ["updated_at", "2022-04-06 15:05:59.504116"]]
338
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
339
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
340
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0ce8cb48-cdd8-432a-b2a9-452e7aabe175"], ["LIMIT", 1]]
341
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
30
342
  TRANSACTION (1.9ms) ROLLBACK
31
- TRANSACTION (1.7ms) BEGIN
32
- TRANSACTION (5.4ms) ROLLBACK
33
- TRANSACTION (1.7ms) BEGIN
34
- TRANSACTION (2.3ms) ROLLBACK
35
343
  TRANSACTION (2.5ms) BEGIN
36
- TRANSACTION (2.6ms) ROLLBACK
37
- TRANSACTION (2.9ms) BEGIN
344
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
345
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9f3220cb-6695-447c-a078-015964a16796"], ["LIMIT", 1]]
346
+ TRANSACTION (2.9ms) SAVEPOINT active_record_1
347
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "9f3220cb-6695-447c-a078-015964a16796"], ["subscription_group_id", "c5e295d0-d13f-499f-86b4-ce3bb2448016"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9f3220cb-6695-447c-a078-015964a16796\",\n subscriptionGroupId: \"c5e295d0-d13f-499f-86b4-ce3bb2448016\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:59.593035"], ["updated_at", "2022-04-06 15:05:59.593035"]]
348
+ TRANSACTION (2.6ms) RELEASE SAVEPOINT active_record_1
349
+  (3.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
350
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9f3220cb-6695-447c-a078-015964a16796"], ["LIMIT", 1]]
351
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
352
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.3ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"9f3220cb-6695-447c-a078-015964a16796\",\n subscriptionGroupId: \"c5e295d0-d13f-499f-86b4-ce3bb2448016\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-06 15:05:59.609220"], ["id", "9f3220cb-6695-447c-a078-015964a16796"]]
353
+ TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
354
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
355
+ TRANSACTION (3.8ms) ROLLBACK
356
+ TRANSACTION (2.1ms) BEGIN
357
+  (3.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
358
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "779c7bdd-f0b5-4069-9957-b98b3e027cb1"], ["LIMIT", 1]]
359
+ TRANSACTION (2.7ms) SAVEPOINT active_record_1
360
+ 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", "779c7bdd-f0b5-4069-9957-b98b3e027cb1"], ["subscription_group_id", "b02e57be-f393-4e86-8a8b-618b8bce4c91"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"779c7bdd-f0b5-4069-9957-b98b3e027cb1\",\n subscriptionGroupId: \"b02e57be-f393-4e86-8a8b-618b8bce4c91\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:59.646454"], ["updated_at", "2022-04-06 15:05:59.646454"]]
361
+ TRANSACTION (3.7ms) RELEASE SAVEPOINT active_record_1
362
+  (3.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
363
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "779c7bdd-f0b5-4069-9957-b98b3e027cb1"], ["LIMIT", 1]]
364
+ TRANSACTION (4.7ms) SAVEPOINT active_record_1
365
+ NulogyMessageBusProducer::SelfServeSubscription Update (10.8ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"779c7bdd-f0b5-4069-9957-b98b3e027cb1\",\n subscriptionGroupId: \"b02e57be-f393-4e86-8a8b-618b8bce4c91\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-06 15:05:59.665766"], ["id", "779c7bdd-f0b5-4069-9957-b98b3e027cb1"]]
366
+ TRANSACTION (3.2ms) RELEASE SAVEPOINT active_record_1
367
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
368
+ TRANSACTION (3.0ms) ROLLBACK
369
+ TRANSACTION (2.4ms) BEGIN
370
+  (4.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
371
+ NulogyMessageBusProducer::SelfServeSubscription Load (12.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d64ec7e6-20f9-4311-86fc-c414b7193a33"], ["LIMIT", 1]]
372
+ TRANSACTION (3.0ms) SAVEPOINT active_record_1
373
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "d64ec7e6-20f9-4311-86fc-c414b7193a33"], ["subscription_group_id", "5c039b4d-f027-4f1e-b758-39269a20e217"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d64ec7e6-20f9-4311-86fc-c414b7193a33\",\n subscriptionGroupId: \"5c039b4d-f027-4f1e-b758-39269a20e217\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 15:05:59.730379"], ["updated_at", "2022-04-06 15:05:59.730379"]]
374
+ TRANSACTION (4.5ms) RELEASE SAVEPOINT active_record_1
375
+  (3.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
376
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d64ec7e6-20f9-4311-86fc-c414b7193a33"], ["LIMIT", 1]]
377
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
378
+ TRANSACTION (7.5ms) ROLLBACK
379
+ TRANSACTION (3.0ms) BEGIN
380
+ TRANSACTION (3.2ms) ROLLBACK
381
+ TRANSACTION (2.6ms) BEGIN
382
+  (9.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
383
+ TRANSACTION (2.5ms) ROLLBACK
384
+ TRANSACTION (2.2ms) BEGIN
385
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
386
+ TRANSACTION (2.1ms) ROLLBACK
387
+ TRANSACTION (2.1ms) BEGIN
388
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
38
389
  TRANSACTION (1.7ms) ROLLBACK
39
- TRANSACTION (4.4ms) BEGIN
40
- TRANSACTION (2.4ms) ROLLBACK
41
- TRANSACTION (1.7ms) BEGIN
42
- TRANSACTION (4.1ms) ROLLBACK
43
- TRANSACTION (4.2ms) BEGIN
44
-  (27.0ms) TRUNCATE things
45
-  (8.6ms) TRUNCATE message_bus_subscription_events
46
- TRANSACTION (5.2ms) ROLLBACK
47
- TRANSACTION (1.7ms) BEGIN
48
-  (9.6ms) TRUNCATE things
49
-  (12.9ms) TRUNCATE schema_migrations
50
-  (9.2ms) TRUNCATE ar_internal_metadata
51
-  (12.6ms) TRUNCATE message_bus_subscription_events
52
-  (14.6ms) TRUNCATE message_bus_subscriptions
53
-  (11.7ms) TRUNCATE message_bus_subscription_events
54
-  (13.7ms) TRUNCATE message_bus_subscriptions
390
+ TRANSACTION (2.3ms) BEGIN
391
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
392
+ TRANSACTION (2.9ms) ROLLBACK
393
+ TRANSACTION (5.8ms) BEGIN
394
+ NulogyMessageBusProducer::SelfServeSubscription Load (7.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"]]
395
+ TRANSACTION (2.2ms) ROLLBACK
396
+ TRANSACTION (1.3ms) BEGIN
397
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
398
+ TRANSACTION (1.4ms) ROLLBACK
399
+ TRANSACTION (3.5ms) BEGIN
400
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
401
+ TRANSACTION (2.6ms) ROLLBACK
402
+ TRANSACTION (1.5ms) BEGIN
403
+  (43.9ms) TRUNCATE message_bus_subscription_events
404
+  (18.5ms) TRUNCATE message_bus_subscriptions
405
+  (21.6ms) TRUNCATE schema_migrations
406
+  (12.1ms) TRUNCATE ar_internal_metadata
407
+  (60.8ms) TRUNCATE message_bus_subscription_events
408
+  (11.7ms) TRUNCATE message_bus_subscriptions
409
+ TRANSACTION (21.2ms) ROLLBACK
410
+ TRANSACTION (2.4ms) BEGIN
411
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
55
412
  TRANSACTION (3.1ms) ROLLBACK
56
- TRANSACTION (2.5ms) BEGIN
57
-  (6.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
58
- TRANSACTION (2.3ms) ROLLBACK
59
- TRANSACTION (1.8ms) BEGIN
60
-  (3.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
61
- TRANSACTION (1.9ms) ROLLBACK
62
413
  TRANSACTION (1.7ms) BEGIN
414
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
415
+ TRANSACTION (1.7ms) ROLLBACK
416
+ TRANSACTION (3.3ms) BEGIN
417
+  (3.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
418
+ TRANSACTION (3.0ms) ROLLBACK
419
+ TRANSACTION (2.4ms) BEGIN
420
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
421
+ TRANSACTION (2.4ms) ROLLBACK
422
+ TRANSACTION (2.0ms) BEGIN
63
423
   (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
64
- TRANSACTION (1.8ms) ROLLBACK
65
- TRANSACTION (2.8ms) BEGIN
424
+ TRANSACTION (2.7ms) ROLLBACK
425
+ TRANSACTION (2.7ms) BEGIN
66
426
   (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
67
- TRANSACTION (2.6ms) ROLLBACK
427
+ TRANSACTION (2.5ms) ROLLBACK
68
428
  TRANSACTION (2.0ms) BEGIN
429
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
430
+ TRANSACTION (1.8ms) ROLLBACK
431
+ TRANSACTION (2.9ms) BEGIN
432
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
433
+ TRANSACTION (2.5ms) ROLLBACK
434
+ TRANSACTION (1.9ms) BEGIN
69
435
   (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
70
- TRANSACTION (2.1ms) ROLLBACK
71
- TRANSACTION (2.7ms) BEGIN
72
-  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
436
+ TRANSACTION (1.9ms) ROLLBACK
437
+ TRANSACTION (2.5ms) BEGIN
438
+  (29.6ms) TRUNCATE message_bus_subscription_events
439
+  (21.6ms) TRUNCATE message_bus_subscriptions
440
+  (15.2ms) TRUNCATE schema_migrations
441
+  (15.5ms) TRUNCATE ar_internal_metadata
442
+  (16.8ms) TRUNCATE message_bus_subscription_events
443
+  (13.7ms) TRUNCATE message_bus_subscriptions
444
+ TRANSACTION (31.1ms) ROLLBACK
445
+ TRANSACTION (2.8ms) BEGIN
446
+  (6.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
73
447
  TRANSACTION (2.2ms) ROLLBACK
74
- TRANSACTION (1.7ms) BEGIN
75
-  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
76
- TRANSACTION (3.7ms) ROLLBACK
448
+ TRANSACTION (1.9ms) BEGIN
449
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
450
+ TRANSACTION (2.0ms) ROLLBACK
451
+ TRANSACTION (1.9ms) BEGIN
452
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
453
+ TRANSACTION (2.5ms) ROLLBACK
77
454
  TRANSACTION (2.9ms) BEGIN
78
-  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
455
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
79
456
  TRANSACTION (2.1ms) ROLLBACK
80
- TRANSACTION (1.4ms) BEGIN
81
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
82
- TRANSACTION (3.8ms) ROLLBACK
83
457
  TRANSACTION (2.1ms) BEGIN
84
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
85
- TRANSACTION (1.6ms) ROLLBACK
458
+  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
459
+ TRANSACTION (2.3ms) ROLLBACK
460
+ TRANSACTION (1.8ms) BEGIN
461
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
462
+ TRANSACTION (2.2ms) ROLLBACK
463
+ TRANSACTION (2.7ms) BEGIN
464
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
465
+ TRANSACTION (2.2ms) ROLLBACK
466
+ TRANSACTION (2.8ms) BEGIN
467
+ TRANSACTION (2.5ms) ROLLBACK
86
468
  TRANSACTION (2.5ms) BEGIN
469
+ 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"]]
470
+ TRANSACTION (2.7ms) ROLLBACK
471
+ TRANSACTION (2.0ms) BEGIN
472
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
473
+ TRANSACTION (3.5ms) ROLLBACK
474
+ TRANSACTION (2.6ms) BEGIN
475
+  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
476
+ TRANSACTION (2.2ms) ROLLBACK
477
+ TRANSACTION (2.1ms) BEGIN
478
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
479
+ TRANSACTION (1.8ms) ROLLBACK
480
+ TRANSACTION (1.9ms) BEGIN
481
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
482
+ TRANSACTION (1.7ms) ROLLBACK
483
+ TRANSACTION (2.1ms) BEGIN
87
484
   (3.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
485
+ TRANSACTION (1.9ms) ROLLBACK
486
+ TRANSACTION (2.7ms) BEGIN
487
+  (3.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
488
+ TRANSACTION (2.0ms) ROLLBACK
489
+ TRANSACTION (2.4ms) BEGIN
490
+  (3.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
491
+ TRANSACTION (2.2ms) ROLLBACK
492
+ TRANSACTION (2.1ms) BEGIN
493
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
494
+ TRANSACTION (2.7ms) ROLLBACK
495
+ TRANSACTION (1.9ms) BEGIN
496
+ TRANSACTION (2.4ms) ROLLBACK
497
+ TRANSACTION (2.6ms) BEGIN
498
+  (3.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
499
+ TRANSACTION (2.4ms) ROLLBACK
500
+ TRANSACTION (2.4ms) BEGIN
501
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
502
+ TRANSACTION (4.5ms) ROLLBACK
503
+ TRANSACTION (1.8ms) BEGIN
504
+ 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"]]
505
+ TRANSACTION (1.5ms) ROLLBACK
506
+ TRANSACTION (2.0ms) BEGIN
507
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
508
+ TRANSACTION (3.3ms) ROLLBACK
509
+ TRANSACTION (2.7ms) BEGIN
510
+  (5.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
511
+ TRANSACTION (6.9ms) ROLLBACK
512
+ TRANSACTION (7.5ms) BEGIN
513
+  (5.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
514
+ TRANSACTION (7.1ms) ROLLBACK
515
+ TRANSACTION (2.4ms) BEGIN
516
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
88
517
  TRANSACTION (2.8ms) ROLLBACK
89
- TRANSACTION (3.9ms) BEGIN
90
- TRANSACTION (3.6ms) ROLLBACK
518
+ TRANSACTION (4.8ms) BEGIN
519
+  (6.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
520
+ TRANSACTION (2.6ms) ROLLBACK
91
521
  TRANSACTION (1.8ms) BEGIN
92
-  (4.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
93
- TRANSACTION (2.7ms) ROLLBACK
94
- TRANSACTION (1.6ms) BEGIN
95
522
   (3.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
96
- TRANSACTION (3.0ms) ROLLBACK
97
- TRANSACTION (1.9ms) BEGIN
523
+ TRANSACTION (5.9ms) ROLLBACK
524
+ TRANSACTION (3.6ms) BEGIN
525
+  (5.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
526
+ TRANSACTION (3.4ms) ROLLBACK
527
+ TRANSACTION (3.2ms) BEGIN
528
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.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"]]
529
+ TRANSACTION (2.5ms) ROLLBACK
530
+ TRANSACTION (2.2ms) BEGIN
531
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
532
+ TRANSACTION (2.9ms) ROLLBACK
533
+ TRANSACTION (4.8ms) BEGIN
534
+  (3.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
535
+ TRANSACTION (12.9ms) ROLLBACK
536
+ TRANSACTION (8.0ms) BEGIN
537
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
538
+ TRANSACTION (1.9ms) ROLLBACK
539
+ TRANSACTION (5.5ms) BEGIN
540
+  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
541
+ TRANSACTION (5.9ms) ROLLBACK
542
+ TRANSACTION (4.0ms) BEGIN
543
+  (3.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
544
+ TRANSACTION (3.1ms) ROLLBACK
545
+ TRANSACTION (2.9ms) BEGIN
546
+  (122.1ms) TRUNCATE message_bus_subscription_events
547
+  (26.2ms) TRUNCATE message_bus_subscriptions
548
+  (27.9ms) TRUNCATE schema_migrations
549
+  (26.8ms) TRUNCATE ar_internal_metadata
550
+  (21.1ms) TRUNCATE message_bus_subscription_events
551
+  (17.7ms) TRUNCATE message_bus_subscriptions
552
+ TRANSACTION (25.7ms) ROLLBACK
553
+ TRANSACTION (2.1ms) BEGIN
554
+ NulogyMessageBusProducer::SelfServeSubscription Load (5.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"]]
555
+ TRANSACTION (10.1ms) ROLLBACK
556
+ TRANSACTION (2.1ms) BEGIN
557
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
558
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2e9bbf0f-558d-4256-b624-e3e5d887586f"], ["LIMIT", 1]]
559
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
560
+ NulogyMessageBusProducer::SelfServeSubscription Create (15.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", "2e9bbf0f-558d-4256-b624-e3e5d887586f"], ["subscription_group_id", "9d284abe-8bb3-43a8-95d5-b447abcc38bf"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2e9bbf0f-558d-4256-b624-e3e5d887586f\",\n subscriptionGroupId: \"9d284abe-8bb3-43a8-95d5-b447abcc38bf\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:09.343141"], ["updated_at", "2022-04-06 19:23:09.343141"]]
561
+ TRANSACTION (2.4ms) RELEASE SAVEPOINT active_record_1
562
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
563
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2e9bbf0f-558d-4256-b624-e3e5d887586f"], ["LIMIT", 1]]
564
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
565
+ TRANSACTION (2.4ms) ROLLBACK
566
+ TRANSACTION (6.1ms) BEGIN
567
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
568
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1b4fa418-28b6-4a5b-be33-b354ccbf13b0"], ["LIMIT", 1]]
569
+ TRANSACTION (2.1ms) SAVEPOINT active_record_1
570
+ 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", "1b4fa418-28b6-4a5b-be33-b354ccbf13b0"], ["subscription_group_id", "e3fc5c3f-fd3b-4447-a056-7bfe06c8a2c7"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1b4fa418-28b6-4a5b-be33-b354ccbf13b0\",\n subscriptionGroupId: \"e3fc5c3f-fd3b-4447-a056-7bfe06c8a2c7\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:09.416490"], ["updated_at", "2022-04-06 19:23:09.416490"]]
571
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
572
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
573
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1b4fa418-28b6-4a5b-be33-b354ccbf13b0"], ["LIMIT", 1]]
574
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
575
+ NulogyMessageBusProducer::SelfServeSubscription Update (3.5ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"1b4fa418-28b6-4a5b-be33-b354ccbf13b0\",\n subscriptionGroupId: \"e3fc5c3f-fd3b-4447-a056-7bfe06c8a2c7\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-06 19:23:09.427192"], ["id", "1b4fa418-28b6-4a5b-be33-b354ccbf13b0"]]
576
+ TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
577
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
578
+ TRANSACTION (4.5ms) ROLLBACK
579
+ TRANSACTION (10.3ms) BEGIN
580
+  (5.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
581
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "beac5a2c-e6f6-465d-b121-1e37378d7a27"], ["LIMIT", 1]]
582
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
583
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "beac5a2c-e6f6-465d-b121-1e37378d7a27"], ["subscription_group_id", "badd3908-745d-4276-b7a0-de99327f3f70"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"beac5a2c-e6f6-465d-b121-1e37378d7a27\",\n subscriptionGroupId: \"badd3908-745d-4276-b7a0-de99327f3f70\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:09.498574"], ["updated_at", "2022-04-06 19:23:09.498574"]]
584
+ TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
585
+  (3.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
586
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "beac5a2c-e6f6-465d-b121-1e37378d7a27"], ["LIMIT", 1]]
587
+ TRANSACTION (3.9ms) SAVEPOINT active_record_1
588
+ NulogyMessageBusProducer::SelfServeSubscription Update (5.5ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"beac5a2c-e6f6-465d-b121-1e37378d7a27\",\n subscriptionGroupId: \"badd3908-745d-4276-b7a0-de99327f3f70\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-06 19:23:09.516297"], ["id", "beac5a2c-e6f6-465d-b121-1e37378d7a27"]]
589
+ TRANSACTION (4.5ms) RELEASE SAVEPOINT active_record_1
590
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
591
+ TRANSACTION (2.1ms) ROLLBACK
592
+ TRANSACTION (2.3ms) BEGIN
593
+  (32.9ms) TRUNCATE message_bus_subscription_events
594
+  (16.5ms) TRUNCATE message_bus_subscriptions
595
+  (16.4ms) TRUNCATE schema_migrations
596
+  (13.2ms) TRUNCATE ar_internal_metadata
597
+  (13.7ms) TRUNCATE message_bus_subscription_events
598
+  (14.4ms) TRUNCATE message_bus_subscriptions
599
+ TRANSACTION (51.3ms) ROLLBACK
600
+ TRANSACTION (44.6ms) BEGIN
601
+  (9.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
602
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6c589ec7-3eda-4256-9df7-9c137745eca7"], ["LIMIT", 1]]
603
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
604
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "6c589ec7-3eda-4256-9df7-9c137745eca7"], ["subscription_group_id", "cc419216-8bce-499c-9e2a-af231c1896a2"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"6c589ec7-3eda-4256-9df7-9c137745eca7\",\n subscriptionGroupId: \"cc419216-8bce-499c-9e2a-af231c1896a2\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:10.854672"], ["updated_at", "2022-04-06 19:23:10.854672"]]
605
+ TRANSACTION (2.3ms) RELEASE SAVEPOINT active_record_1
606
+  (3.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
607
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6c589ec7-3eda-4256-9df7-9c137745eca7"], ["LIMIT", 1]]
608
+ NulogyMessageBusProducer::SelfServeSubscription Load (6.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"]]
609
+ TRANSACTION (2.4ms) ROLLBACK
610
+ TRANSACTION (2.5ms) BEGIN
611
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
612
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "244cf91a-bd75-41cf-b23f-36b9f9016c9f"], ["LIMIT", 1]]
613
+ TRANSACTION (2.2ms) SAVEPOINT active_record_1
614
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "244cf91a-bd75-41cf-b23f-36b9f9016c9f"], ["subscription_group_id", "3d235219-c2f3-4dd9-9ad7-60b57d5dcb49"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"244cf91a-bd75-41cf-b23f-36b9f9016c9f\",\n subscriptionGroupId: \"3d235219-c2f3-4dd9-9ad7-60b57d5dcb49\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:10.909215"], ["updated_at", "2022-04-06 19:23:10.909215"]]
615
+ TRANSACTION (2.7ms) RELEASE SAVEPOINT active_record_1
616
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
617
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "244cf91a-bd75-41cf-b23f-36b9f9016c9f"], ["LIMIT", 1]]
618
+ 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"]]
619
+ TRANSACTION (1.7ms) ROLLBACK
620
+ TRANSACTION (2.1ms) BEGIN
621
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
622
+ TRANSACTION (2.3ms) ROLLBACK
623
+ TRANSACTION (1.8ms) BEGIN
98
624
   (4.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
99
- TRANSACTION (3.8ms) ROLLBACK
625
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0e30f3c9-ef45-408a-a54a-3986ff85adc3"], ["LIMIT", 1]]
626
+ TRANSACTION (2.4ms) SAVEPOINT active_record_1
627
+ 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", "0e30f3c9-ef45-408a-a54a-3986ff85adc3"], ["subscription_group_id", "cb8e2f5e-1c4f-4a2a-bda2-f8d1129cdd41"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0e30f3c9-ef45-408a-a54a-3986ff85adc3\",\n subscriptionGroupId: \"cb8e2f5e-1c4f-4a2a-bda2-f8d1129cdd41\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:10.973089"], ["updated_at", "2022-04-06 19:23:10.973089"]]
628
+ TRANSACTION (2.6ms) RELEASE SAVEPOINT active_record_1
629
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
630
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0e30f3c9-ef45-408a-a54a-3986ff85adc3"], ["LIMIT", 1]]
631
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
632
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6e6d5f37-b193-4281-91b1-a09db111b1d2"], ["LIMIT", 1]]
633
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
634
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "6e6d5f37-b193-4281-91b1-a09db111b1d2"], ["subscription_group_id", "4750624c-67cb-4886-a9e0-5d1f6b1337ff"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"6e6d5f37-b193-4281-91b1-a09db111b1d2\",\n subscriptionGroupId: \"4750624c-67cb-4886-a9e0-5d1f6b1337ff\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:10.997263"], ["updated_at", "2022-04-06 19:23:10.997263"]]
635
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
636
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
637
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6e6d5f37-b193-4281-91b1-a09db111b1d2"], ["LIMIT", 1]]
638
+  (3.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
639
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b3426988-8a2e-4854-9e63-c948d989fddf"], ["LIMIT", 1]]
640
+ TRANSACTION (2.0ms) SAVEPOINT active_record_1
641
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "b3426988-8a2e-4854-9e63-c948d989fddf"], ["subscription_group_id", "0352874d-8b8c-47af-82d6-0ef868e3234a"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"b3426988-8a2e-4854-9e63-c948d989fddf\",\n subscriptionGroupId: \"0352874d-8b8c-47af-82d6-0ef868e3234a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.023303"], ["updated_at", "2022-04-06 19:23:11.023303"]]
642
+ TRANSACTION (2.8ms) RELEASE SAVEPOINT active_record_1
643
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
644
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b3426988-8a2e-4854-9e63-c948d989fddf"], ["LIMIT", 1]]
645
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.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"]]
646
+ TRANSACTION (2.0ms) ROLLBACK
647
+ TRANSACTION (2.8ms) BEGIN
648
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6ae96668-3452-40b6-bc76-aac1df82f39b"], ["LIMIT", 1]]
649
+ TRANSACTION (2.5ms) SAVEPOINT active_record_1
650
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "6ae96668-3452-40b6-bc76-aac1df82f39b"], ["subscription_group_id", "55442c74-018d-4c90-a982-c0813aee8d01"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"6ae96668-3452-40b6-bc76-aac1df82f39b\",\n subscriptionGroupId: \"55442c74-018d-4c90-a982-c0813aee8d01\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.066634"], ["updated_at", "2022-04-06 19:23:11.066634"]]
651
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
652
+ TRANSACTION (2.1ms) ROLLBACK
653
+ TRANSACTION (3.1ms) BEGIN
654
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
655
+ TRANSACTION (2.8ms) ROLLBACK
656
+ TRANSACTION (1.3ms) BEGIN
657
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
658
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5692db37-15be-4826-a9cc-4f6426576e67"], ["LIMIT", 1]]
659
+ TRANSACTION (2.9ms) SAVEPOINT active_record_1
660
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "5692db37-15be-4826-a9cc-4f6426576e67"], ["subscription_group_id", "7290e338-1be8-475e-832f-91cd445503c9"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"5692db37-15be-4826-a9cc-4f6426576e67\",\n subscriptionGroupId: \"7290e338-1be8-475e-832f-91cd445503c9\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.150144"], ["updated_at", "2022-04-06 19:23:11.150144"]]
661
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
662
+  (3.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
663
+ NulogyMessageBusProducer::SelfServeSubscription Load (5.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5692db37-15be-4826-a9cc-4f6426576e67"], ["LIMIT", 1]]
664
+  (6.1ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
665
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
666
+ TRANSACTION (1.7ms) ROLLBACK
100
667
  TRANSACTION (1.8ms) BEGIN
101
-  (4.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
668
+  (4.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
669
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4de60e98-0b06-4b7b-8d3b-9a6f61fc9f24"], ["LIMIT", 1]]
670
+ TRANSACTION (3.4ms) SAVEPOINT active_record_1
671
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "4de60e98-0b06-4b7b-8d3b-9a6f61fc9f24"], ["subscription_group_id", "8a08d56f-f101-4f8d-a42b-89914d1435e0"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"4de60e98-0b06-4b7b-8d3b-9a6f61fc9f24\",\n subscriptionGroupId: \"8a08d56f-f101-4f8d-a42b-89914d1435e0\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.208833"], ["updated_at", "2022-04-06 19:23:11.208833"]]
672
+ TRANSACTION (2.3ms) RELEASE SAVEPOINT active_record_1
673
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
674
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4de60e98-0b06-4b7b-8d3b-9a6f61fc9f24"], ["LIMIT", 1]]
675
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
676
+ 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"]]
677
+ TRANSACTION (2.3ms) ROLLBACK
678
+ TRANSACTION (2.2ms) BEGIN
679
+  (3.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
680
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d2131c32-a454-482f-8c19-3950a0dd5b71"], ["LIMIT", 1]]
681
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
682
+ 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", "d2131c32-a454-482f-8c19-3950a0dd5b71"], ["subscription_group_id", "4a0c2b40-1467-48eb-8612-8fbae0ba87e0"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d2131c32-a454-482f-8c19-3950a0dd5b71\",\n subscriptionGroupId: \"4a0c2b40-1467-48eb-8612-8fbae0ba87e0\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.254383"], ["updated_at", "2022-04-06 19:23:11.254383"]]
683
+ TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
684
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
685
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d2131c32-a454-482f-8c19-3950a0dd5b71"], ["LIMIT", 1]]
686
+ 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"]]
687
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d2131c32-a454-482f-8c19-3950a0dd5b71"], ["LIMIT", 1]]
688
+ TRANSACTION (1.6ms) ROLLBACK
689
+ TRANSACTION (1.7ms) BEGIN
690
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
691
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d38b5c1b-cce4-498a-a4ce-f065b9ac55e1"], ["LIMIT", 1]]
692
+ TRANSACTION (3.2ms) SAVEPOINT active_record_1
693
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "d38b5c1b-cce4-498a-a4ce-f065b9ac55e1"], ["subscription_group_id", "6c8a0834-6477-446d-8d5b-7a85b0de44a4"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d38b5c1b-cce4-498a-a4ce-f065b9ac55e1\",\n subscriptionGroupId: \"6c8a0834-6477-446d-8d5b-7a85b0de44a4\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.287564"], ["updated_at", "2022-04-06 19:23:11.287564"]]
694
+ TRANSACTION (2.0ms) RELEASE SAVEPOINT active_record_1
695
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
696
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d38b5c1b-cce4-498a-a4ce-f065b9ac55e1"], ["LIMIT", 1]]
697
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
698
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d38b5c1b-cce4-498a-a4ce-f065b9ac55e1"], ["LIMIT", 1]]
699
+ TRANSACTION (2.0ms) ROLLBACK
700
+ TRANSACTION (1.4ms) BEGIN
701
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
702
+ NulogyMessageBusProducer::SelfServeSubscription Load (5.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7f7f154a-c44d-4f29-9b7b-771cb5ede9b8"], ["LIMIT", 1]]
703
+ TRANSACTION (3.7ms) SAVEPOINT active_record_1
704
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "7f7f154a-c44d-4f29-9b7b-771cb5ede9b8"], ["subscription_group_id", "c97863fb-1227-4f76-979c-d7b52715e7ba"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"7f7f154a-c44d-4f29-9b7b-771cb5ede9b8\",\n subscriptionGroupId: \"c97863fb-1227-4f76-979c-d7b52715e7ba\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.331935"], ["updated_at", "2022-04-06 19:23:11.331935"]]
705
+ TRANSACTION (2.6ms) RELEASE SAVEPOINT active_record_1
706
+  (2.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
707
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7f7f154a-c44d-4f29-9b7b-771cb5ede9b8"], ["LIMIT", 1]]
708
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
709
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "33926dab-42fa-48dd-8490-bac469f74236"], ["LIMIT", 1]]
710
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
711
+ 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", "33926dab-42fa-48dd-8490-bac469f74236"], ["subscription_group_id", "39ae1452-645a-415c-8bb8-ee41b50d31aa"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"33926dab-42fa-48dd-8490-bac469f74236\",\n subscriptionGroupId: \"39ae1452-645a-415c-8bb8-ee41b50d31aa\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.355375"], ["updated_at", "2022-04-06 19:23:11.355375"]]
712
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
713
+  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
714
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "33926dab-42fa-48dd-8490-bac469f74236"], ["LIMIT", 1]]
715
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
716
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
717
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7f7f154a-c44d-4f29-9b7b-771cb5ede9b8"], ["LIMIT", 1]]
718
+ TRANSACTION (2.6ms) ROLLBACK
719
+ TRANSACTION (1.7ms) BEGIN
720
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
721
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "12ec57ec-6900-4960-b20a-9958d8db4eb3"], ["LIMIT", 1]]
722
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
723
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "12ec57ec-6900-4960-b20a-9958d8db4eb3"], ["subscription_group_id", "8cb45bd5-f906-4a4b-a564-c9473bb32604"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"12ec57ec-6900-4960-b20a-9958d8db4eb3\",\n subscriptionGroupId: \"8cb45bd5-f906-4a4b-a564-c9473bb32604\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.395831"], ["updated_at", "2022-04-06 19:23:11.395831"]]
724
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
725
+  (3.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
726
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "12ec57ec-6900-4960-b20a-9958d8db4eb3"], ["LIMIT", 1]]
727
+ TRANSACTION (3.3ms) SAVEPOINT active_record_1
728
+ NulogyMessageBusProducer::SelfServeSubscription Update (3.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", "2022-04-06 19:23:11.410228"], ["id", "12ec57ec-6900-4960-b20a-9958d8db4eb3"]]
729
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
730
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
731
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "12ec57ec-6900-4960-b20a-9958d8db4eb3"], ["LIMIT", 1]]
732
+ TRANSACTION (1.6ms) ROLLBACK
733
+ TRANSACTION (1.6ms) BEGIN
734
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
735
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c321522e-3113-4338-8248-5d2a1839549d"], ["LIMIT", 1]]
736
+ TRANSACTION (3.6ms) SAVEPOINT active_record_1
737
+ 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", "c321522e-3113-4338-8248-5d2a1839549d"], ["subscription_group_id", "34bd171f-a38c-46d3-81a6-5e1c45feaa4c"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c321522e-3113-4338-8248-5d2a1839549d\",\n subscriptionGroupId: \"34bd171f-a38c-46d3-81a6-5e1c45feaa4c\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.444349"], ["updated_at", "2022-04-06 19:23:11.444349"]]
738
+ TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
739
+  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
740
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c321522e-3113-4338-8248-5d2a1839549d"], ["LIMIT", 1]]
741
+ TRANSACTION (2.4ms) SAVEPOINT active_record_1
742
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.9ms) 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", "2022-04-06 19:23:11.460561"], ["id", "c321522e-3113-4338-8248-5d2a1839549d"]]
743
+ TRANSACTION (2.7ms) RELEASE SAVEPOINT active_record_1
744
+ 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"]]
745
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c321522e-3113-4338-8248-5d2a1839549d"], ["LIMIT", 1]]
746
+ TRANSACTION (4.4ms) ROLLBACK
747
+ TRANSACTION (1.7ms) BEGIN
748
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
749
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7dd59283-25d7-45c8-93f6-c0d0ed1e5bff"], ["LIMIT", 1]]
750
+ TRANSACTION (2.6ms) SAVEPOINT active_record_1
751
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "7dd59283-25d7-45c8-93f6-c0d0ed1e5bff"], ["subscription_group_id", "77867e81-bd8e-46db-a3e1-f7d2549ec8ae"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"7dd59283-25d7-45c8-93f6-c0d0ed1e5bff\",\n subscriptionGroupId: \"77867e81-bd8e-46db-a3e1-f7d2549ec8ae\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:23:11.504285"], ["updated_at", "2022-04-06 19:23:11.504285"]]
752
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
753
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
754
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7dd59283-25d7-45c8-93f6-c0d0ed1e5bff"], ["LIMIT", 1]]
755
+ TRANSACTION (3.5ms) SAVEPOINT active_record_1
756
+ NulogyMessageBusProducer::SelfServeSubscription Update (3.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", "2022-04-06 19:23:11.519806"], ["id", "7dd59283-25d7-45c8-93f6-c0d0ed1e5bff"]]
757
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
758
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
759
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7dd59283-25d7-45c8-93f6-c0d0ed1e5bff"], ["LIMIT", 1]]
760
+ TRANSACTION (3.4ms) ROLLBACK
761
+ TRANSACTION (2.7ms) BEGIN
762
+  (4.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
763
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ef897339-5082-489b-a9db-5cc222231b18"], ["LIMIT", 1]]
764
+ TRANSACTION (2.9ms) SAVEPOINT active_record_1
765
+ NulogyMessageBusProducer::SelfServeSubscription Create (4.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", "ef897339-5082-489b-a9db-5cc222231b18"], ["subscription_group_id", "455cb4b9-ae4b-4fa5-945f-ae7246389057"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ef897339-5082-489b-a9db-5cc222231b18\",\n subscriptionGroupId: \"455cb4b9-ae4b-4fa5-945f-ae7246389057\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:28:27.715158"], ["updated_at", "2022-04-06 19:28:27.715158"]]
766
+ TRANSACTION (4.5ms) RELEASE SAVEPOINT active_record_1
767
+  (3.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
768
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ef897339-5082-489b-a9db-5cc222231b18"], ["LIMIT", 1]]
769
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
770
+ NulogyMessageBusProducer::SelfServeSubscription Update (3.1ms) 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", "2022-04-06 19:28:27.750250"], ["id", "ef897339-5082-489b-a9db-5cc222231b18"]]
771
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
772
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
773
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ef897339-5082-489b-a9db-5cc222231b18"], ["LIMIT", 1]]
774
+ TRANSACTION (5.5ms) ROLLBACK
102
775
  TRANSACTION (1.9ms) BEGIN
776
+  (4.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
777
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "71b032eb-e1f1-47d6-a7b1-ccf7ad6634b6"], ["LIMIT", 1]]
778
+ TRANSACTION (2.1ms) SAVEPOINT active_record_1
779
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "71b032eb-e1f1-47d6-a7b1-ccf7ad6634b6"], ["subscription_group_id", "5efc2889-ecdf-4aca-b025-9c497a7a7b4b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"71b032eb-e1f1-47d6-a7b1-ccf7ad6634b6\",\n subscriptionGroupId: \"5efc2889-ecdf-4aca-b025-9c497a7a7b4b\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 19:28:58.918693"], ["updated_at", "2022-04-06 19:28:58.918693"]]
780
+ TRANSACTION (3.8ms) RELEASE SAVEPOINT active_record_1
781
+  (3.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
782
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "71b032eb-e1f1-47d6-a7b1-ccf7ad6634b6"], ["LIMIT", 1]]
783
+ TRANSACTION (2.2ms) SAVEPOINT active_record_1
784
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.9ms) 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", "2022-04-06 19:28:58.947915"], ["id", "71b032eb-e1f1-47d6-a7b1-ccf7ad6634b6"]]
785
+ TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
786
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
787
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "71b032eb-e1f1-47d6-a7b1-ccf7ad6634b6"], ["LIMIT", 1]]
788
+ TRANSACTION (1.5ms) BEGIN
789
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
790
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "da22e01a-8e18-45ff-b10c-d2b467d83b0a"], ["LIMIT", 1]]
791
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
792
+ 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", "da22e01a-8e18-45ff-b10c-d2b467d83b0a"], ["subscription_group_id", "43e5792c-42a4-4ec0-9439-6d4ff5b88438"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"da22e01a-8e18-45ff-b10c-d2b467d83b0a\",\n subscriptionGroupId: \"43e5792c-42a4-4ec0-9439-6d4ff5b88438\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:33:31.904399"], ["updated_at", "2022-04-06 20:33:31.904399"]]
793
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
794
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
795
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "da22e01a-8e18-45ff-b10c-d2b467d83b0a"], ["LIMIT", 1]]
796
+ 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"]]
797
+ TRANSACTION (1.0ms) ROLLBACK
798
+ TRANSACTION (1.5ms) BEGIN
799
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
800
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ac27279e-087c-48b1-9e6d-c2f4f476c515"], ["LIMIT", 1]]
801
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
802
+ 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", "ac27279e-087c-48b1-9e6d-c2f4f476c515"], ["subscription_group_id", "c60b8cb3-8e8b-46a9-be8c-355f75ae6ba4"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ac27279e-087c-48b1-9e6d-c2f4f476c515\",\n subscriptionGroupId: \"c60b8cb3-8e8b-46a9-be8c-355f75ae6ba4\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:33:31.967167"], ["updated_at", "2022-04-06 20:33:31.967167"]]
803
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
804
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
805
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ac27279e-087c-48b1-9e6d-c2f4f476c515"], ["LIMIT", 1]]
806
+ 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"]]
807
+ TRANSACTION (1.3ms) ROLLBACK
808
+ TRANSACTION (1.7ms) BEGIN
809
+ 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"]]
810
+ TRANSACTION (1.7ms) ROLLBACK
811
+ TRANSACTION (1.2ms) BEGIN
812
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
813
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8b5b7fbc-006e-4d5a-9cfb-93443826e4ac"], ["LIMIT", 1]]
814
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
815
+ 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", "8b5b7fbc-006e-4d5a-9cfb-93443826e4ac"], ["subscription_group_id", "8c64383d-41ec-4636-afc6-09064f740075"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"8b5b7fbc-006e-4d5a-9cfb-93443826e4ac\",\n subscriptionGroupId: \"8c64383d-41ec-4636-afc6-09064f740075\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:33:32.003372"], ["updated_at", "2022-04-06 20:33:32.003372"]]
816
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
817
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
818
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8b5b7fbc-006e-4d5a-9cfb-93443826e4ac"], ["LIMIT", 1]]
819
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
820
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "079d385e-46b8-4ae8-95b7-93581df4093b"], ["LIMIT", 1]]
821
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
822
+ 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", "079d385e-46b8-4ae8-95b7-93581df4093b"], ["subscription_group_id", "5b385597-254c-4cc3-8544-db749c0cb7c4"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"079d385e-46b8-4ae8-95b7-93581df4093b\",\n subscriptionGroupId: \"5b385597-254c-4cc3-8544-db749c0cb7c4\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:33:32.018448"], ["updated_at", "2022-04-06 20:33:32.018448"]]
823
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
824
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
825
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "079d385e-46b8-4ae8-95b7-93581df4093b"], ["LIMIT", 1]]
826
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
827
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ca001035-bbfd-4a85-b5d7-e2207fd1ec3b"], ["LIMIT", 1]]
828
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
829
+ 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", "ca001035-bbfd-4a85-b5d7-e2207fd1ec3b"], ["subscription_group_id", "06cd9580-c7cd-486a-af19-ed2f632cbf3e"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"ca001035-bbfd-4a85-b5d7-e2207fd1ec3b\",\n subscriptionGroupId: \"06cd9580-c7cd-486a-af19-ed2f632cbf3e\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:33:32.032317"], ["updated_at", "2022-04-06 20:33:32.032317"]]
830
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
831
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
832
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ca001035-bbfd-4a85-b5d7-e2207fd1ec3b"], ["LIMIT", 1]]
833
+ 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"]]
834
+ TRANSACTION (1.3ms) ROLLBACK
835
+ TRANSACTION (1.2ms) BEGIN
836
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d7b9f0b8-e8cf-437f-84a3-810dcb680670"], ["LIMIT", 1]]
837
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
838
+ 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", "d7b9f0b8-e8cf-437f-84a3-810dcb680670"], ["subscription_group_id", "d77606ad-31ae-4285-ba48-77ede21b6d84"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"d7b9f0b8-e8cf-437f-84a3-810dcb680670\",\n subscriptionGroupId: \"d77606ad-31ae-4285-ba48-77ede21b6d84\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:33:32.102600"], ["updated_at", "2022-04-06 20:33:32.102600"]]
839
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
840
+ TRANSACTION (1.0ms) ROLLBACK
841
+ TRANSACTION (1.1ms) BEGIN
842
+  (15.7ms) TRUNCATE message_bus_subscription_events
843
+ TRANSACTION (27.6ms) ROLLBACK
844
+  (523697.4ms) TRUNCATE message_bus_subscriptions
845
+  (12.0ms) TRUNCATE schema_migrations
846
+  (14.3ms) TRUNCATE ar_internal_metadata
847
+  (20.5ms) TRUNCATE message_bus_subscription_events
848
+  (13.3ms) TRUNCATE message_bus_subscriptions
849
+ TRANSACTION (18.1ms) ROLLBACK
850
+ TRANSACTION (2.6ms) BEGIN
851
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
852
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "37637968-84b9-4eb2-bacf-909e969481dd"], ["LIMIT", 1]]
853
+ TRANSACTION (2.0ms) SAVEPOINT active_record_1
854
+ NulogyMessageBusProducer::SelfServeSubscription Create (5.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", "37637968-84b9-4eb2-bacf-909e969481dd"], ["subscription_group_id", "2649978b-90f0-4faa-b43a-be6dad02009b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"37637968-84b9-4eb2-bacf-909e969481dd\",\n subscriptionGroupId: \"2649978b-90f0-4faa-b43a-be6dad02009b\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:43:57.438074"], ["updated_at", "2022-04-06 20:43:57.438074"]]
855
+ TRANSACTION (2.8ms) RELEASE SAVEPOINT active_record_1
856
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
857
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "37637968-84b9-4eb2-bacf-909e969481dd"], ["LIMIT", 1]]
858
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
859
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.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", "2022-04-06 20:43:57.470429"], ["id", "37637968-84b9-4eb2-bacf-909e969481dd"]]
860
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
861
+ 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"]]
862
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "37637968-84b9-4eb2-bacf-909e969481dd"], ["LIMIT", 1]]
863
+ TRANSACTION (13.3ms) ROLLBACK
864
+ TRANSACTION (1.8ms) BEGIN
865
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bf52a239-9867-41bd-9aed-b02b4c353a78"], ["LIMIT", 1]]
866
+ TRANSACTION (2.0ms) SAVEPOINT active_record_1
867
+ 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", "bf52a239-9867-41bd-9aed-b02b4c353a78"], ["subscription_group_id", "80505076-4bf2-449a-b50c-2793cdd2dfa4"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"bf52a239-9867-41bd-9aed-b02b4c353a78\",\n subscriptionGroupId: \"80505076-4bf2-449a-b50c-2793cdd2dfa4\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.125275"], ["updated_at", "2022-04-06 20:45:47.125275"]]
868
+ TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
869
+ TRANSACTION (2.7ms) ROLLBACK
870
+ TRANSACTION (1.9ms) BEGIN
871
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
872
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a405bbcd-9734-4559-95e9-9100a44a00c1"], ["LIMIT", 1]]
873
+ TRANSACTION (2.5ms) SAVEPOINT active_record_1
874
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "a405bbcd-9734-4559-95e9-9100a44a00c1"], ["subscription_group_id", "f21de8d3-6680-4aba-be49-88842151591b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"a405bbcd-9734-4559-95e9-9100a44a00c1\",\n subscriptionGroupId: \"f21de8d3-6680-4aba-be49-88842151591b\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.152677"], ["updated_at", "2022-04-06 20:45:47.152677"]]
875
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
876
+  (8.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
877
+ NulogyMessageBusProducer::SelfServeSubscription Load (6.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a405bbcd-9734-4559-95e9-9100a44a00c1"], ["LIMIT", 1]]
878
+ TRANSACTION (4.1ms) SAVEPOINT active_record_1
879
+ NulogyMessageBusProducer::SelfServeSubscription Update (6.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", "2022-04-06 20:45:47.177501"], ["id", "a405bbcd-9734-4559-95e9-9100a44a00c1"]]
880
+ TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
881
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
882
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a405bbcd-9734-4559-95e9-9100a44a00c1"], ["LIMIT", 1]]
883
+ TRANSACTION (2.4ms) ROLLBACK
884
+ TRANSACTION (2.2ms) BEGIN
885
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
886
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "96f15116-ce8d-4fcd-a32a-8cfdc424cdb4"], ["LIMIT", 1]]
887
+ TRANSACTION (2.1ms) SAVEPOINT active_record_1
888
+ 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", "96f15116-ce8d-4fcd-a32a-8cfdc424cdb4"], ["subscription_group_id", "b288955c-d13d-42e8-b512-d0a43d3141f6"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"96f15116-ce8d-4fcd-a32a-8cfdc424cdb4\",\n subscriptionGroupId: \"b288955c-d13d-42e8-b512-d0a43d3141f6\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.224519"], ["updated_at", "2022-04-06 20:45:47.224519"]]
889
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
890
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
891
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "96f15116-ce8d-4fcd-a32a-8cfdc424cdb4"], ["LIMIT", 1]]
892
+ TRANSACTION (2.1ms) SAVEPOINT active_record_1
893
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.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", "2022-04-06 20:45:47.237789"], ["id", "96f15116-ce8d-4fcd-a32a-8cfdc424cdb4"]]
894
+ TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
895
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
896
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "96f15116-ce8d-4fcd-a32a-8cfdc424cdb4"], ["LIMIT", 1]]
897
+ TRANSACTION (2.2ms) ROLLBACK
898
+ TRANSACTION (1.8ms) BEGIN
899
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
900
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f0d4e747-3449-46cd-9b96-5d0f8259dcef"], ["LIMIT", 1]]
901
+ TRANSACTION (2.8ms) SAVEPOINT active_record_1
902
+ 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", "f0d4e747-3449-46cd-9b96-5d0f8259dcef"], ["subscription_group_id", "5efef26c-cac5-4478-a8bb-c77303d6e561"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"f0d4e747-3449-46cd-9b96-5d0f8259dcef\",\n subscriptionGroupId: \"5efef26c-cac5-4478-a8bb-c77303d6e561\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.267837"], ["updated_at", "2022-04-06 20:45:47.267837"]]
903
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
904
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
905
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f0d4e747-3449-46cd-9b96-5d0f8259dcef"], ["LIMIT", 1]]
906
+ TRANSACTION (2.0ms) SAVEPOINT active_record_1
907
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.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", "2022-04-06 20:45:47.281507"], ["id", "f0d4e747-3449-46cd-9b96-5d0f8259dcef"]]
908
+ TRANSACTION (2.0ms) RELEASE SAVEPOINT active_record_1
909
+ 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"]]
910
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f0d4e747-3449-46cd-9b96-5d0f8259dcef"], ["LIMIT", 1]]
911
+ TRANSACTION (2.0ms) ROLLBACK
912
+ TRANSACTION (2.0ms) BEGIN
913
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
914
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2e4d5b35-c060-490e-91c7-00d728b2b05d"], ["LIMIT", 1]]
915
+ TRANSACTION (2.1ms) SAVEPOINT active_record_1
916
+ 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", "2e4d5b35-c060-490e-91c7-00d728b2b05d"], ["subscription_group_id", "bdd8fffa-808d-4c3d-b273-820dfb1f188b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2e4d5b35-c060-490e-91c7-00d728b2b05d\",\n subscriptionGroupId: \"bdd8fffa-808d-4c3d-b273-820dfb1f188b\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.311764"], ["updated_at", "2022-04-06 20:45:47.311764"]]
917
+ TRANSACTION (15.1ms) RELEASE SAVEPOINT active_record_1
918
+  (3.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
919
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2e4d5b35-c060-490e-91c7-00d728b2b05d"], ["LIMIT", 1]]
920
+ 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"]]
921
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2e4d5b35-c060-490e-91c7-00d728b2b05d"], ["LIMIT", 1]]
922
+ TRANSACTION (2.5ms) ROLLBACK
923
+ TRANSACTION (2.2ms) BEGIN
924
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
925
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c675d706-f1f2-4028-8083-4e427fdfe5a9"], ["LIMIT", 1]]
926
+ TRANSACTION (2.2ms) SAVEPOINT active_record_1
927
+ 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", "c675d706-f1f2-4028-8083-4e427fdfe5a9"], ["subscription_group_id", "9b0d614d-7f6c-4349-a50a-9ef4ddcbc127"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c675d706-f1f2-4028-8083-4e427fdfe5a9\",\n subscriptionGroupId: \"9b0d614d-7f6c-4349-a50a-9ef4ddcbc127\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.365671"], ["updated_at", "2022-04-06 20:45:47.365671"]]
928
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
929
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
930
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c675d706-f1f2-4028-8083-4e427fdfe5a9"], ["LIMIT", 1]]
931
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
932
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c675d706-f1f2-4028-8083-4e427fdfe5a9"], ["LIMIT", 1]]
933
+ TRANSACTION (1.9ms) ROLLBACK
934
+ TRANSACTION (2.4ms) BEGIN
935
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
936
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0fcd3d07-dd64-4569-8b69-0f51b8c4afaf"], ["LIMIT", 1]]
937
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
938
+ 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", "0fcd3d07-dd64-4569-8b69-0f51b8c4afaf"], ["subscription_group_id", "c9ed02c6-65cb-48de-8d87-facc53b50456"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0fcd3d07-dd64-4569-8b69-0f51b8c4afaf\",\n subscriptionGroupId: \"c9ed02c6-65cb-48de-8d87-facc53b50456\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.405818"], ["updated_at", "2022-04-06 20:45:47.405818"]]
939
+ TRANSACTION (2.6ms) RELEASE SAVEPOINT active_record_1
940
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
941
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0fcd3d07-dd64-4569-8b69-0f51b8c4afaf"], ["LIMIT", 1]]
942
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
943
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6024f93a-fe2c-4aea-b350-faa11312505e"], ["LIMIT", 1]]
944
+ TRANSACTION (4.5ms) SAVEPOINT active_record_1
945
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "6024f93a-fe2c-4aea-b350-faa11312505e"], ["subscription_group_id", "acb32a0c-5cea-44ba-9afd-4acc4824d01c"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"6024f93a-fe2c-4aea-b350-faa11312505e\",\n subscriptionGroupId: \"acb32a0c-5cea-44ba-9afd-4acc4824d01c\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.429944"], ["updated_at", "2022-04-06 20:45:47.429944"]]
946
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
947
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
948
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6024f93a-fe2c-4aea-b350-faa11312505e"], ["LIMIT", 1]]
949
+  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
950
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
951
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0fcd3d07-dd64-4569-8b69-0f51b8c4afaf"], ["LIMIT", 1]]
952
+ TRANSACTION (2.1ms) ROLLBACK
953
+ TRANSACTION (2.1ms) BEGIN
954
+ 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"]]
955
+ TRANSACTION (3.2ms) ROLLBACK
956
+ TRANSACTION (2.0ms) BEGIN
957
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
958
+ NulogyMessageBusProducer::SelfServeSubscription Load (17.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "904968cb-1405-4e5c-a822-c00a8f324f5b"], ["LIMIT", 1]]
959
+ TRANSACTION (7.2ms) SAVEPOINT active_record_1
960
+ NulogyMessageBusProducer::SelfServeSubscription Create (4.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", "904968cb-1405-4e5c-a822-c00a8f324f5b"], ["subscription_group_id", "609d44ea-791b-4e1d-a693-e2d794a5aa39"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"904968cb-1405-4e5c-a822-c00a8f324f5b\",\n subscriptionGroupId: \"609d44ea-791b-4e1d-a693-e2d794a5aa39\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.510216"], ["updated_at", "2022-04-06 20:45:47.510216"]]
961
+ TRANSACTION (4.8ms) RELEASE SAVEPOINT active_record_1
962
+  (5.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
963
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "904968cb-1405-4e5c-a822-c00a8f324f5b"], ["LIMIT", 1]]
964
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
965
+ NulogyMessageBusProducer::SelfServeSubscription Load (7.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"]]
966
+ TRANSACTION (3.7ms) ROLLBACK
967
+ TRANSACTION (4.9ms) BEGIN
968
+  (5.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
969
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ae34083e-2de0-44ff-94a4-c2c7e8670281"], ["LIMIT", 1]]
970
+ TRANSACTION (4.8ms) SAVEPOINT active_record_1
971
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "ae34083e-2de0-44ff-94a4-c2c7e8670281"], ["subscription_group_id", "c57e2af9-ec04-4cfc-9063-32ffa5956ca8"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ae34083e-2de0-44ff-94a4-c2c7e8670281\",\n subscriptionGroupId: \"c57e2af9-ec04-4cfc-9063-32ffa5956ca8\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:47.583544"], ["updated_at", "2022-04-06 20:45:47.583544"]]
972
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
973
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
974
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ae34083e-2de0-44ff-94a4-c2c7e8670281"], ["LIMIT", 1]]
975
+  (2.9ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
976
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
977
+ TRANSACTION (2.1ms) ROLLBACK
978
+ TRANSACTION (2.8ms) BEGIN
979
+  (20.1ms) TRUNCATE message_bus_subscription_events
980
+  (17.0ms) TRUNCATE message_bus_subscriptions
981
+  (13.8ms) TRUNCATE schema_migrations
982
+  (13.6ms) TRUNCATE ar_internal_metadata
983
+  (26.7ms) TRUNCATE message_bus_subscription_events
984
+  (18.3ms) TRUNCATE message_bus_subscriptions
985
+ TRANSACTION (20.1ms) ROLLBACK
986
+ TRANSACTION (8.0ms) BEGIN
987
+  (4.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
988
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "073f294f-1d2e-4190-933f-7146a27ea46e"], ["LIMIT", 1]]
989
+ TRANSACTION (2.2ms) SAVEPOINT active_record_1
990
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "073f294f-1d2e-4190-933f-7146a27ea46e"], ["subscription_group_id", "9299aae6-ea8a-40cb-a3dd-728a8206f768"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"073f294f-1d2e-4190-933f-7146a27ea46e\",\n subscriptionGroupId: \"9299aae6-ea8a-40cb-a3dd-728a8206f768\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:48.930164"], ["updated_at", "2022-04-06 20:45:48.930164"]]
991
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
992
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
993
+ NulogyMessageBusProducer::SelfServeSubscription Load (5.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "073f294f-1d2e-4190-933f-7146a27ea46e"], ["LIMIT", 1]]
994
+ NulogyMessageBusProducer::SelfServeSubscription Load (5.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"]]
995
+ TRANSACTION (2.1ms) ROLLBACK
996
+ TRANSACTION (1.9ms) BEGIN
997
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
998
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "30da8e50-6b8c-4dce-8164-c71df624d27e"], ["LIMIT", 1]]
999
+ TRANSACTION (2.5ms) SAVEPOINT active_record_1
1000
+ NulogyMessageBusProducer::SelfServeSubscription Create (5.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", "30da8e50-6b8c-4dce-8164-c71df624d27e"], ["subscription_group_id", "9ae5a7bd-6ecc-4c59-a5d1-48acb00ef682"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"30da8e50-6b8c-4dce-8164-c71df624d27e\",\n subscriptionGroupId: \"9ae5a7bd-6ecc-4c59-a5d1-48acb00ef682\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:48.973772"], ["updated_at", "2022-04-06 20:45:48.973772"]]
1001
+ TRANSACTION (3.8ms) RELEASE SAVEPOINT active_record_1
1002
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1003
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "30da8e50-6b8c-4dce-8164-c71df624d27e"], ["LIMIT", 1]]
1004
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
1005
+ TRANSACTION (2.3ms) ROLLBACK
1006
+ TRANSACTION (3.7ms) BEGIN
1007
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.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"]]
1008
+ TRANSACTION (2.9ms) ROLLBACK
1009
+ TRANSACTION (4.1ms) BEGIN
1010
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1011
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "dc9b4bd3-496a-4144-99fe-2e255755b2bb"], ["LIMIT", 1]]
1012
+ TRANSACTION (2.0ms) SAVEPOINT active_record_1
1013
+ 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", "dc9b4bd3-496a-4144-99fe-2e255755b2bb"], ["subscription_group_id", "14db418b-93dd-41b9-9f77-e2df7a7acab6"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"dc9b4bd3-496a-4144-99fe-2e255755b2bb\",\n subscriptionGroupId: \"14db418b-93dd-41b9-9f77-e2df7a7acab6\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:49.040764"], ["updated_at", "2022-04-06 20:45:49.040764"]]
1014
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
1015
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1016
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "dc9b4bd3-496a-4144-99fe-2e255755b2bb"], ["LIMIT", 1]]
1017
+  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1018
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1ddb5412-85fd-4da2-960e-13a72ef0ccf8"], ["LIMIT", 1]]
1019
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
1020
+ 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", "1ddb5412-85fd-4da2-960e-13a72ef0ccf8"], ["subscription_group_id", "2763bf74-e5c2-4155-b9e2-1cc3b7d402c9"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1ddb5412-85fd-4da2-960e-13a72ef0ccf8\",\n subscriptionGroupId: \"2763bf74-e5c2-4155-b9e2-1cc3b7d402c9\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:49.063185"], ["updated_at", "2022-04-06 20:45:49.063185"]]
1021
+ TRANSACTION (2.4ms) RELEASE SAVEPOINT active_record_1
1022
+  (5.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1023
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1ddb5412-85fd-4da2-960e-13a72ef0ccf8"], ["LIMIT", 1]]
1024
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1025
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d250e1c8-caf3-445b-994a-4e494b19f499"], ["LIMIT", 1]]
1026
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
1027
+ 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", "d250e1c8-caf3-445b-994a-4e494b19f499"], ["subscription_group_id", "38e0e32b-405f-4390-a255-2353be8bee6a"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"d250e1c8-caf3-445b-994a-4e494b19f499\",\n subscriptionGroupId: \"38e0e32b-405f-4390-a255-2353be8bee6a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:49.087792"], ["updated_at", "2022-04-06 20:45:49.087792"]]
1028
+ TRANSACTION (2.0ms) RELEASE SAVEPOINT active_record_1
1029
+  (2.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1030
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d250e1c8-caf3-445b-994a-4e494b19f499"], ["LIMIT", 1]]
1031
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.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"]]
1032
+ TRANSACTION (3.3ms) ROLLBACK
1033
+ TRANSACTION (2.2ms) BEGIN
1034
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1035
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "43aa7be7-2a5d-4113-ad02-9932c2fdff0d"], ["LIMIT", 1]]
1036
+ TRANSACTION (2.2ms) SAVEPOINT active_record_1
1037
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "43aa7be7-2a5d-4113-ad02-9932c2fdff0d"], ["subscription_group_id", "0898a5fb-2c8a-4c7d-94f1-19893295f4ca"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"43aa7be7-2a5d-4113-ad02-9932c2fdff0d\",\n subscriptionGroupId: \"0898a5fb-2c8a-4c7d-94f1-19893295f4ca\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:49.161121"], ["updated_at", "2022-04-06 20:45:49.161121"]]
1038
+ TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
1039
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1040
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "43aa7be7-2a5d-4113-ad02-9932c2fdff0d"], ["LIMIT", 1]]
1041
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1042
+ TRANSACTION (2.6ms) ROLLBACK
1043
+ TRANSACTION (2.9ms) BEGIN
1044
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1045
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "efbd6421-65e6-4611-9cd9-1535f3f6a188"], ["LIMIT", 1]]
1046
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
1047
+ 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", "efbd6421-65e6-4611-9cd9-1535f3f6a188"], ["subscription_group_id", "fdee0895-c144-446a-a101-315c092bb3e3"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"efbd6421-65e6-4611-9cd9-1535f3f6a188\",\n subscriptionGroupId: \"fdee0895-c144-446a-a101-315c092bb3e3\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:49.208438"], ["updated_at", "2022-04-06 20:45:49.208438"]]
1048
+ TRANSACTION (2.8ms) RELEASE SAVEPOINT active_record_1
1049
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1050
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "efbd6421-65e6-4611-9cd9-1535f3f6a188"], ["LIMIT", 1]]
1051
+ TRANSACTION (2.1ms) SAVEPOINT active_record_1
1052
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.9ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"efbd6421-65e6-4611-9cd9-1535f3f6a188\",\n subscriptionGroupId: \"fdee0895-c144-446a-a101-315c092bb3e3\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-06 20:45:49.224066"], ["id", "efbd6421-65e6-4611-9cd9-1535f3f6a188"]]
1053
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
1054
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1055
+ TRANSACTION (2.8ms) ROLLBACK
1056
+ TRANSACTION (1.6ms) BEGIN
1057
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1058
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "abd64857-9c3d-4b45-9058-e427d206903e"], ["LIMIT", 1]]
1059
+ TRANSACTION (2.5ms) SAVEPOINT active_record_1
1060
+ 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", "abd64857-9c3d-4b45-9058-e427d206903e"], ["subscription_group_id", "29a8aad0-335d-4f23-bcc0-03c0b575694e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"abd64857-9c3d-4b45-9058-e427d206903e\",\n subscriptionGroupId: \"29a8aad0-335d-4f23-bcc0-03c0b575694e\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:45:49.250821"], ["updated_at", "2022-04-06 20:45:49.250821"]]
1061
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
1062
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1063
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "abd64857-9c3d-4b45-9058-e427d206903e"], ["LIMIT", 1]]
1064
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
1065
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.6ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"abd64857-9c3d-4b45-9058-e427d206903e\",\n subscriptionGroupId: \"29a8aad0-335d-4f23-bcc0-03c0b575694e\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-06 20:45:49.262752"], ["id", "abd64857-9c3d-4b45-9058-e427d206903e"]]
1066
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
1067
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1068
+ TRANSACTION (2.1ms) ROLLBACK
1069
+ TRANSACTION (1.4ms) BEGIN
1070
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1071
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "730a2276-4928-4e91-886e-086e78f6d49c"], ["LIMIT", 1]]
1072
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
1073
+ NulogyMessageBusProducer::SelfServeSubscription Create (5.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", "730a2276-4928-4e91-886e-086e78f6d49c"], ["subscription_group_id", "75c4c23e-e4a3-47e7-9539-0f90e354e96a"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"730a2276-4928-4e91-886e-086e78f6d49c\",\n subscriptionGroupId: \"75c4c23e-e4a3-47e7-9539-0f90e354e96a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 20:46:32.571928"], ["updated_at", "2022-04-06 20:46:32.571928"]]
1074
+ TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
1075
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1076
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "730a2276-4928-4e91-886e-086e78f6d49c"], ["LIMIT", 1]]
1077
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
1078
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "730a2276-4928-4e91-886e-086e78f6d49c"], ["LIMIT", 1]]
1079
+ TRANSACTION (59.0ms) ROLLBACK
1080
+ TRANSACTION (1.5ms) BEGIN
1081
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1082
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a00f2b73-f74e-4bb4-90eb-ef97b619954a"], ["LIMIT", 1]]
1083
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
1084
+ NulogyMessageBusProducer::SelfServeSubscription Create (5.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", "a00f2b73-f74e-4bb4-90eb-ef97b619954a"], ["subscription_group_id", "caef1317-c45e-4097-8e25-f5139b6c3d05"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"a00f2b73-f74e-4bb4-90eb-ef97b619954a\",\n subscriptionGroupId: \"caef1317-c45e-4097-8e25-f5139b6c3d05\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:00:57.958173"], ["updated_at", "2022-04-06 21:00:57.958173"]]
1085
+ TRANSACTION (2.9ms) RELEASE SAVEPOINT active_record_1
1086
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1087
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a00f2b73-f74e-4bb4-90eb-ef97b619954a"], ["LIMIT", 1]]
1088
+ 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"]]
1089
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a00f2b73-f74e-4bb4-90eb-ef97b619954a"], ["LIMIT", 1]]
1090
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a00f2b73-f74e-4bb4-90eb-ef97b619954a"], ["LIMIT", 1]]
1091
+ NulogyMessageBusProducer::SubscriptionEvent Load (6.0ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "13e294ee-a87c-40f3-b43f-040a9c00d6ad"], ["LIMIT", 1]]
1092
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
1093
+ NulogyMessageBusProducer::SubscriptionEvent Create (4.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", "13e294ee-a87c-40f3-b43f-040a9c00d6ad"], ["subscription_id", "a00f2b73-f74e-4bb4-90eb-ef97b619954a"], ["partition_key", "caef1317-c45e-4097-8e25-f5139b6c3d05,62afee0e-0724-427c-bcd7-b47e2bee9453"], ["topic_name", "some_topic"], ["company_uuid", "62afee0e-0724-427c-bcd7-b47e2bee9453"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 21:00:59.855498"]]
1094
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
1095
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "a00f2b73-f74e-4bb4-90eb-ef97b619954a"], ["LIMIT", 1]]
1096
+ TRANSACTION (1.8ms) ROLLBACK
1097
+ TRANSACTION (1.5ms) BEGIN
1098
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1099
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3a873ed4-5288-41a1-9b53-2ae3cf4cb06d"], ["LIMIT", 1]]
1100
+ TRANSACTION (2.1ms) SAVEPOINT active_record_1
1101
+ 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", "3a873ed4-5288-41a1-9b53-2ae3cf4cb06d"], ["subscription_group_id", "394feee6-5185-422a-88bb-c9c1e480a068"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"3a873ed4-5288-41a1-9b53-2ae3cf4cb06d\",\n subscriptionGroupId: \"394feee6-5185-422a-88bb-c9c1e480a068\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:14.043881"], ["updated_at", "2022-04-06 21:01:14.043881"]]
1102
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1103
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1104
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3a873ed4-5288-41a1-9b53-2ae3cf4cb06d"], ["LIMIT", 1]]
1105
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
1106
+ 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", "2022-04-06 21:01:14.053993"], ["id", "3a873ed4-5288-41a1-9b53-2ae3cf4cb06d"]]
1107
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1108
+ 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"]]
1109
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3a873ed4-5288-41a1-9b53-2ae3cf4cb06d"], ["LIMIT", 1]]
1110
+ TRANSACTION (1.4ms) ROLLBACK
1111
+ TRANSACTION (1.3ms) BEGIN
1112
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1113
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "600304d4-bcb3-4682-9f2b-e4295631319a"], ["LIMIT", 1]]
1114
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
1115
+ 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", "600304d4-bcb3-4682-9f2b-e4295631319a"], ["subscription_group_id", "52f95042-eea4-4079-b7ea-b708d45b2b2d"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"600304d4-bcb3-4682-9f2b-e4295631319a\",\n subscriptionGroupId: \"52f95042-eea4-4079-b7ea-b708d45b2b2d\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:14.088411"], ["updated_at", "2022-04-06 21:01:14.088411"]]
1116
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1117
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1118
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "600304d4-bcb3-4682-9f2b-e4295631319a"], ["LIMIT", 1]]
1119
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1120
+ 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", "2022-04-06 21:01:14.097301"], ["id", "600304d4-bcb3-4682-9f2b-e4295631319a"]]
1121
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
1122
+ 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"]]
1123
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "600304d4-bcb3-4682-9f2b-e4295631319a"], ["LIMIT", 1]]
1124
+ TRANSACTION (1.5ms) ROLLBACK
1125
+ TRANSACTION (1.5ms) BEGIN
103
1126
   (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
104
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "142e468a-4ced-460a-88ea-850d6de0974b"], ["LIMIT", 1]]
1127
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "35ee5ba4-83a0-475d-b15c-3d9b3f31c09a"], ["LIMIT", 1]]
105
1128
  TRANSACTION (1.6ms) SAVEPOINT active_record_1
106
- 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", "142e468a-4ced-460a-88ea-850d6de0974b"], ["subscription_group_id", "5a925b0a-e0ea-4c83-9f51-41e2366973a0"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"142e468a-4ced-460a-88ea-850d6de0974b\",\n subscriptionGroupId: \"5a925b0a-e0ea-4c83-9f51-41e2366973a0\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:00.871050"], ["updated_at", "2022-04-13 18:41:00.871050"]]
1129
+ 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", "35ee5ba4-83a0-475d-b15c-3d9b3f31c09a"], ["subscription_group_id", "0d2083ac-5ae1-49c3-9614-f5b80380f183"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"35ee5ba4-83a0-475d-b15c-3d9b3f31c09a\",\n subscriptionGroupId: \"0d2083ac-5ae1-49c3-9614-f5b80380f183\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:14.120269"], ["updated_at", "2022-04-06 21:01:14.120269"]]
107
1130
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
108
-  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
109
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "142e468a-4ced-460a-88ea-850d6de0974b"], ["LIMIT", 1]]
110
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
111
- TRANSACTION (1.9ms) ROLLBACK
112
- TRANSACTION (1.5ms) BEGIN
113
-  (2.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
114
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "12bb0f8c-6e98-4d94-a86a-41b2e069d52b"], ["LIMIT", 1]]
115
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
116
- 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", "12bb0f8c-6e98-4d94-a86a-41b2e069d52b"], ["subscription_group_id", "10b7b2c4-1324-442e-ac4f-f6ddef01fcd4"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"12bb0f8c-6e98-4d94-a86a-41b2e069d52b\",\n subscriptionGroupId: \"10b7b2c4-1324-442e-ac4f-f6ddef01fcd4\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:00.939828"], ["updated_at", "2022-04-13 18:41:00.939828"]]
117
- TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
118
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
119
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "12bb0f8c-6e98-4d94-a86a-41b2e069d52b"], ["LIMIT", 1]]
120
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
121
- NulogyMessageBusProducer::SelfServeSubscription Update (3.1ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"12bb0f8c-6e98-4d94-a86a-41b2e069d52b\",\n subscriptionGroupId: \"10b7b2c4-1324-442e-ac4f-f6ddef01fcd4\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-13 18:41:00.950551"], ["id", "12bb0f8c-6e98-4d94-a86a-41b2e069d52b"]]
122
- TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
123
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
124
- TRANSACTION (1.7ms) ROLLBACK
125
- TRANSACTION (1.4ms) BEGIN
126
-  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
127
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "367b389a-9e8f-4352-bd14-4c004dbd9061"], ["LIMIT", 1]]
1131
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1132
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "35ee5ba4-83a0-475d-b15c-3d9b3f31c09a"], ["LIMIT", 1]]
1133
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1134
+ 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", "2022-04-06 21:01:14.128998"], ["id", "35ee5ba4-83a0-475d-b15c-3d9b3f31c09a"]]
1135
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
1136
+ 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"]]
1137
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "35ee5ba4-83a0-475d-b15c-3d9b3f31c09a"], ["LIMIT", 1]]
1138
+ TRANSACTION (1.2ms) ROLLBACK
1139
+ TRANSACTION (1.2ms) BEGIN
1140
+ 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"]]
1141
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.5ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "7dcd4e6b-c5c2-4e01-82c7-83b9cbadac50"], ["LIMIT", 1]]
1142
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
1143
+ 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", "7dcd4e6b-c5c2-4e01-82c7-83b9cbadac50"], ["subscription_id", "64ce3d5e-6e6b-4963-a1b9-981fd46b62bc"], ["partition_key", "1e60a6e4-178c-4add-8638-a5ff0e3ef1b6,e8234ca2-19b6-4f72-84d9-7eebefa4b7c6"], ["topic_name", "some_topic"], ["company_uuid", "e8234ca2-19b6-4f72-84d9-7eebefa4b7c6"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 21:01:14.161692"]]
1144
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1145
+ 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", "64ce3d5e-6e6b-4963-a1b9-981fd46b62bc"], ["LIMIT", 1]]
1146
+ TRANSACTION (1.4ms) ROLLBACK
1147
+ TRANSACTION (0.8ms) BEGIN
1148
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1149
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "04f83ecc-9fd2-4a2f-8024-dd9617942f6c"], ["LIMIT", 1]]
1150
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
1151
+ 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", "04f83ecc-9fd2-4a2f-8024-dd9617942f6c"], ["subscription_group_id", "daa96fbd-b6ca-4260-adc4-5b86ffbf6b0f"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"04f83ecc-9fd2-4a2f-8024-dd9617942f6c\",\n subscriptionGroupId: \"daa96fbd-b6ca-4260-adc4-5b86ffbf6b0f\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:14.182094"], ["updated_at", "2022-04-06 21:01:14.182094"]]
1152
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
1153
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1154
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "04f83ecc-9fd2-4a2f-8024-dd9617942f6c"], ["LIMIT", 1]]
1155
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1156
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "54b49f56-c2c1-44bd-851b-f4a185487dac"], ["LIMIT", 1]]
1157
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1158
+ 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", "54b49f56-c2c1-44bd-851b-f4a185487dac"], ["subscription_group_id", "7c71ca3a-2d84-44e7-b7ce-02f9f7f7b166"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"54b49f56-c2c1-44bd-851b-f4a185487dac\",\n subscriptionGroupId: \"7c71ca3a-2d84-44e7-b7ce-02f9f7f7b166\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:14.196263"], ["updated_at", "2022-04-06 21:01:14.196263"]]
1159
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
1160
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1161
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "54b49f56-c2c1-44bd-851b-f4a185487dac"], ["LIMIT", 1]]
1162
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1163
+ 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"]]
1164
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "04f83ecc-9fd2-4a2f-8024-dd9617942f6c"], ["LIMIT", 1]]
1165
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "04f83ecc-9fd2-4a2f-8024-dd9617942f6c"], ["LIMIT", 1]]
1166
+ 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", "f8ed2996-5c78-4f0c-a0bf-127f5257af5b"], ["LIMIT", 1]]
128
1167
  TRANSACTION (1.6ms) SAVEPOINT active_record_1
129
- 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", "367b389a-9e8f-4352-bd14-4c004dbd9061"], ["subscription_group_id", "a4479e16-b14d-4008-9329-450b72dc6e56"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"367b389a-9e8f-4352-bd14-4c004dbd9061\",\n subscriptionGroupId: \"a4479e16-b14d-4008-9329-450b72dc6e56\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:00.979482"], ["updated_at", "2022-04-13 18:41:00.979482"]]
1168
+ 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", "f8ed2996-5c78-4f0c-a0bf-127f5257af5b"], ["subscription_id", "04f83ecc-9fd2-4a2f-8024-dd9617942f6c"], ["partition_key", "daa96fbd-b6ca-4260-adc4-5b86ffbf6b0f,612f555e-2a4d-413c-9a07-35f8ac7f1d4e"], ["topic_name", "some_topic"], ["company_uuid", "612f555e-2a4d-413c-9a07-35f8ac7f1d4e"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 21:01:14.214960"]]
1169
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1170
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "54b49f56-c2c1-44bd-851b-f4a185487dac"], ["LIMIT", 1]]
1171
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "54b49f56-c2c1-44bd-851b-f4a185487dac"], ["LIMIT", 1]]
1172
+ 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", "72811696-23e2-4763-9960-d16049052074"], ["LIMIT", 1]]
1173
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1174
+ 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", "72811696-23e2-4763-9960-d16049052074"], ["subscription_id", "54b49f56-c2c1-44bd-851b-f4a185487dac"], ["partition_key", "7c71ca3a-2d84-44e7-b7ce-02f9f7f7b166,612f555e-2a4d-413c-9a07-35f8ac7f1d4e"], ["topic_name", "some_topic"], ["company_uuid", "612f555e-2a4d-413c-9a07-35f8ac7f1d4e"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 21:01:14.226367"]]
130
1175
  TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
131
-  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
132
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "367b389a-9e8f-4352-bd14-4c004dbd9061"], ["LIMIT", 1]]
133
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
134
- NulogyMessageBusProducer::SelfServeSubscription Update (3.0ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"367b389a-9e8f-4352-bd14-4c004dbd9061\",\n subscriptionGroupId: \"a4479e16-b14d-4008-9329-450b72dc6e56\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-13 18:41:00.989825"], ["id", "367b389a-9e8f-4352-bd14-4c004dbd9061"]]
135
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
136
- NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
137
- TRANSACTION (1.6ms) ROLLBACK
138
- TRANSACTION (1.7ms) BEGIN
139
- 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"]]
140
- TRANSACTION (1.5ms) ROLLBACK
141
- TRANSACTION (1.3ms) BEGIN
1176
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1177
+  (1.8ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
1178
+ TRANSACTION (1.4ms) ROLLBACK
1179
+ TRANSACTION (1.6ms) BEGIN
1180
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1181
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4730f343-ace4-4eda-ba63-44dbc342bc9e"], ["LIMIT", 1]]
1182
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1183
+ 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", "4730f343-ace4-4eda-ba63-44dbc342bc9e"], ["subscription_group_id", "23e85055-7442-45fd-af55-998555ae5ee6"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"4730f343-ace4-4eda-ba63-44dbc342bc9e\",\n subscriptionGroupId: \"23e85055-7442-45fd-af55-998555ae5ee6\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:14.246895"], ["updated_at", "2022-04-06 21:01:14.246895"]]
1184
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
142
1185
   (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
143
- NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d600ddc-9ce5-4666-b336-6d30c88d3d3d"], ["LIMIT", 1]]
144
- TRANSACTION (2.2ms) SAVEPOINT active_record_1
145
- 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", "1d600ddc-9ce5-4666-b336-6d30c88d3d3d"], ["subscription_group_id", "29787505-0559-44d4-8884-c19abc792caa"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1d600ddc-9ce5-4666-b336-6d30c88d3d3d\",\n subscriptionGroupId: \"29787505-0559-44d4-8884-c19abc792caa\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:01.033330"], ["updated_at", "2022-04-13 18:41:01.033330"]]
146
- TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
147
-  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
148
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d600ddc-9ce5-4666-b336-6d30c88d3d3d"], ["LIMIT", 1]]
149
-  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
150
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bd7757bb-3ecd-456b-ae9a-693703e61fa4"], ["LIMIT", 1]]
1186
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4730f343-ace4-4eda-ba63-44dbc342bc9e"], ["LIMIT", 1]]
1187
+ 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"]]
1188
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4730f343-ace4-4eda-ba63-44dbc342bc9e"], ["LIMIT", 1]]
1189
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4730f343-ace4-4eda-ba63-44dbc342bc9e"], ["LIMIT", 1]]
1190
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.9ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "a0c92fec-a2e8-4d36-8216-145df6a221a6"], ["LIMIT", 1]]
1191
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1192
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.9ms) 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", "a0c92fec-a2e8-4d36-8216-145df6a221a6"], ["subscription_id", "4730f343-ace4-4eda-ba63-44dbc342bc9e"], ["partition_key", "23e85055-7442-45fd-af55-998555ae5ee6,f2c70152-4f16-435f-8d3c-f0677c4116c8"], ["topic_name", "some_topic"], ["company_uuid", "f2c70152-4f16-435f-8d3c-f0677c4116c8"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2022-04-06 21:01:14.264355"]]
1193
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
1194
+ 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", "4730f343-ace4-4eda-ba63-44dbc342bc9e"], ["LIMIT", 1]]
1195
+ TRANSACTION (1.9ms) ROLLBACK
1196
+ TRANSACTION (1.2ms) BEGIN
1197
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1198
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "66681532-61fb-49d0-8560-b6f0d5d24717"], ["LIMIT", 1]]
151
1199
  TRANSACTION (1.4ms) SAVEPOINT active_record_1
152
- 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", "bd7757bb-3ecd-456b-ae9a-693703e61fa4"], ["subscription_group_id", "bf99537a-f3af-46a6-aca5-fb046e2d1b1b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"bd7757bb-3ecd-456b-ae9a-693703e61fa4\",\n subscriptionGroupId: \"bf99537a-f3af-46a6-aca5-fb046e2d1b1b\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:01.054317"], ["updated_at", "2022-04-13 18:41:01.054317"]]
153
- TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
1200
+ 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", "66681532-61fb-49d0-8560-b6f0d5d24717"], ["subscription_group_id", "4e76a675-db7b-4ba7-9248-2bc61177501f"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"66681532-61fb-49d0-8560-b6f0d5d24717\",\n subscriptionGroupId: \"4e76a675-db7b-4ba7-9248-2bc61177501f\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:14.283999"], ["updated_at", "2022-04-06 21:01:14.283999"]]
1201
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
1202
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1203
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "66681532-61fb-49d0-8560-b6f0d5d24717"], ["LIMIT", 1]]
1204
+ 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"]]
1205
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "66681532-61fb-49d0-8560-b6f0d5d24717"], ["LIMIT", 1]]
1206
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "66681532-61fb-49d0-8560-b6f0d5d24717"], ["LIMIT", 1]]
1207
+ 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", "5dc0d1cd-a2ed-4594-9827-d47d56713da6"], ["LIMIT", 1]]
1208
+ TRANSACTION (2.0ms) SAVEPOINT active_record_1
1209
+ 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", "5dc0d1cd-a2ed-4594-9827-d47d56713da6"], ["subscription_id", "66681532-61fb-49d0-8560-b6f0d5d24717"], ["partition_key", "4e76a675-db7b-4ba7-9248-2bc61177501f,cb7d66d3-7c6b-4133-9f62-5096a0f5e711"], ["topic_name", "some_topic"], ["company_uuid", "cb7d66d3-7c6b-4133-9f62-5096a0f5e711"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 21:01:14.300261"]]
1210
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1211
+ 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", "66681532-61fb-49d0-8560-b6f0d5d24717"], ["LIMIT", 1]]
1212
+ TRANSACTION (1.2ms) ROLLBACK
1213
+ TRANSACTION (1.1ms) BEGIN
1214
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1215
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9a4208fd-96c4-486f-9057-9311824df2b8"], ["LIMIT", 1]]
1216
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
1217
+ 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", "9a4208fd-96c4-486f-9057-9311824df2b8"], ["subscription_group_id", "6204e459-452a-4dae-a83d-9caa121a3f26"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9a4208fd-96c4-486f-9057-9311824df2b8\",\n subscriptionGroupId: \"6204e459-452a-4dae-a83d-9caa121a3f26\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:14.319001"], ["updated_at", "2022-04-06 21:01:14.319001"]]
1218
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1219
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1220
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9a4208fd-96c4-486f-9057-9311824df2b8"], ["LIMIT", 1]]
1221
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1222
+ 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"]]
1223
+ 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", "1b1c17c6-1a67-4a04-bd9f-08ad7411725a"], ["LIMIT", 1]]
1224
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1225
+ 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", "1b1c17c6-1a67-4a04-bd9f-08ad7411725a"], ["subscription_id", "2e4bfa8e-c06d-45f9-9688-3c7aeb48f392"], ["partition_key", "07ce00dc-e7da-4408-9f74-ebdba66add3a,4edf63b2-c7d0-4bf7-b1ab-503095015a2a"], ["topic_name", "configured_topic"], ["company_uuid", "4edf63b2-c7d0-4bf7-b1ab-503095015a2a"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 21:01:14.335022"]]
1226
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1227
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9a4208fd-96c4-486f-9057-9311824df2b8"], ["LIMIT", 1]]
1228
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9a4208fd-96c4-486f-9057-9311824df2b8"], ["LIMIT", 1]]
1229
+ 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", "73b145de-8dad-4733-826b-ebca0a46d98b"], ["LIMIT", 1]]
1230
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
1231
+ 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", "73b145de-8dad-4733-826b-ebca0a46d98b"], ["subscription_id", "9a4208fd-96c4-486f-9057-9311824df2b8"], ["partition_key", "6204e459-452a-4dae-a83d-9caa121a3f26,4edf63b2-c7d0-4bf7-b1ab-503095015a2a"], ["topic_name", "self_serve_topic"], ["company_uuid", "4edf63b2-c7d0-4bf7-b1ab-503095015a2a"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 21:01:14.345688"]]
1232
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1233
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1234
+ 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", "9a4208fd-96c4-486f-9057-9311824df2b8"], ["LIMIT", 1]]
1235
+ 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", "2e4bfa8e-c06d-45f9-9688-3c7aeb48f392"], ["LIMIT", 1]]
1236
+ TRANSACTION (1.2ms) ROLLBACK
1237
+ TRANSACTION (1.1ms) BEGIN
154
1238
   (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
155
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bd7757bb-3ecd-456b-ae9a-693703e61fa4"], ["LIMIT", 1]]
156
-  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
157
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "95ff7374-1f84-4d81-8406-507027d838b4"], ["LIMIT", 1]]
158
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
159
- 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", "95ff7374-1f84-4d81-8406-507027d838b4"], ["subscription_group_id", "f76368df-702e-4c5d-987f-f550eaa0d6d7"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"95ff7374-1f84-4d81-8406-507027d838b4\",\n subscriptionGroupId: \"f76368df-702e-4c5d-987f-f550eaa0d6d7\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:01.076183"], ["updated_at", "2022-04-13 18:41:01.076183"]]
1239
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "07eb060b-a1d5-49de-97c1-a06bda268199"], ["LIMIT", 1]]
1240
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
1241
+ 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", "07eb060b-a1d5-49de-97c1-a06bda268199"], ["subscription_group_id", "f620dd68-78e5-4c43-81ad-c2ff7d03b854"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"07eb060b-a1d5-49de-97c1-a06bda268199\",\n subscriptionGroupId: \"f620dd68-78e5-4c43-81ad-c2ff7d03b854\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:14.366418"], ["updated_at", "2022-04-06 21:01:14.366418"]]
160
1242
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
161
-  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
162
- NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "95ff7374-1f84-4d81-8406-507027d838b4"], ["LIMIT", 1]]
163
- 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"]]
164
- TRANSACTION (2.5ms) ROLLBACK
165
- TRANSACTION (1.3ms) BEGIN
166
-  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
167
- NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e59c739f-c821-4ab9-99cf-690d4c9d2704"], ["LIMIT", 1]]
168
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
169
- 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", "e59c739f-c821-4ab9-99cf-690d4c9d2704"], ["subscription_group_id", "d43c52c6-d4e8-4e3c-89e3-cff213693297"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"e59c739f-c821-4ab9-99cf-690d4c9d2704\",\n subscriptionGroupId: \"d43c52c6-d4e8-4e3c-89e3-cff213693297\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:01.106728"], ["updated_at", "2022-04-13 18:41:01.106728"]]
170
- TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
1243
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1244
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "07eb060b-a1d5-49de-97c1-a06bda268199"], ["LIMIT", 1]]
1245
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1246
+ 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"]]
1247
+ 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", "02e429bb-1a3a-452a-a1e8-c034288dac42"], ["LIMIT", 1]]
1248
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1249
+ 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", "02e429bb-1a3a-452a-a1e8-c034288dac42"], ["subscription_id", "07eb060b-a1d5-49de-97c1-a06bda268199"], ["partition_key", "5ad028bb-2fbe-46f0-8ca5-fe8b6846133b,72d50523-c63f-4ade-8638-bb34baff940e"], ["topic_name", "configured_topic"], ["company_uuid", "72d50523-c63f-4ade-8638-bb34baff940e"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-06 21:01:14.383292"]]
1250
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1251
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1252
+ 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", "07eb060b-a1d5-49de-97c1-a06bda268199"], ["LIMIT", 1]]
1253
+ TRANSACTION (1.2ms) ROLLBACK
1254
+ TRANSACTION (1.2ms) BEGIN
1255
+  (13.9ms) TRUNCATE message_bus_subscription_events
1256
+  (9.8ms) TRUNCATE message_bus_subscriptions
1257
+  (9.3ms) TRUNCATE schema_migrations
1258
+  (9.5ms) TRUNCATE ar_internal_metadata
1259
+  (7.8ms) TRUNCATE message_bus_subscription_events
1260
+  (12.6ms) TRUNCATE message_bus_subscriptions
1261
+ TRANSACTION (17.2ms) ROLLBACK
1262
+ TRANSACTION (2.4ms) BEGIN
171
1263
   (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
172
- NulogyMessageBusProducer::SelfServeSubscription Load (3.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e59c739f-c821-4ab9-99cf-690d4c9d2704"], ["LIMIT", 1]]
173
- NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
174
- TRANSACTION (1.9ms) ROLLBACK
175
- TRANSACTION (1.3ms) BEGIN
1264
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cb5e8c47-9f23-44fe-bc2e-aaf7318dafe7"], ["LIMIT", 1]]
1265
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
1266
+ 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", "cb5e8c47-9f23-44fe-bc2e-aaf7318dafe7"], ["subscription_group_id", "8c784d5a-8787-4c72-9969-cbea3cdff55a"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"cb5e8c47-9f23-44fe-bc2e-aaf7318dafe7\",\n subscriptionGroupId: \"8c784d5a-8787-4c72-9969-cbea3cdff55a\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:15.470390"], ["updated_at", "2022-04-06 21:01:15.470390"]]
1267
+ TRANSACTION (2.0ms) RELEASE SAVEPOINT active_record_1
176
1268
   (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
177
- NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7d0b35fb-a757-417d-8fcb-f5ff6522c766"], ["LIMIT", 1]]
178
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
179
- 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", "7d0b35fb-a757-417d-8fcb-f5ff6522c766"], ["subscription_group_id", "08f5bef5-19a7-4fea-9eaf-e9e78458aa54"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"7d0b35fb-a757-417d-8fcb-f5ff6522c766\",\n subscriptionGroupId: \"08f5bef5-19a7-4fea-9eaf-e9e78458aa54\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:01.140463"], ["updated_at", "2022-04-13 18:41:01.140463"]]
180
- TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
181
-  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
182
- NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7d0b35fb-a757-417d-8fcb-f5ff6522c766"], ["LIMIT", 1]]
183
- NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
1269
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cb5e8c47-9f23-44fe-bc2e-aaf7318dafe7"], ["LIMIT", 1]]
1270
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1271
+ TRANSACTION (1.5ms) ROLLBACK
1272
+ TRANSACTION (1.3ms) BEGIN
1273
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1274
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "47d7bc72-6afa-46ca-88dd-9c17c064bd9d"], ["LIMIT", 1]]
1275
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1276
+ 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", "47d7bc72-6afa-46ca-88dd-9c17c064bd9d"], ["subscription_group_id", "d7bf1444-ccae-4e2f-97a7-ebc0bdb21f9d"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"47d7bc72-6afa-46ca-88dd-9c17c064bd9d\",\n subscriptionGroupId: \"d7bf1444-ccae-4e2f-97a7-ebc0bdb21f9d\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:15.497830"], ["updated_at", "2022-04-06 21:01:15.497830"]]
1277
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
1278
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1279
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "47d7bc72-6afa-46ca-88dd-9c17c064bd9d"], ["LIMIT", 1]]
1280
+ TRANSACTION (2.3ms) SAVEPOINT active_record_1
1281
+ NulogyMessageBusProducer::SelfServeSubscription Update (1.4ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"47d7bc72-6afa-46ca-88dd-9c17c064bd9d\",\n subscriptionGroupId: \"d7bf1444-ccae-4e2f-97a7-ebc0bdb21f9d\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-06 21:01:15.508028"], ["id", "47d7bc72-6afa-46ca-88dd-9c17c064bd9d"]]
1282
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1283
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
184
1284
  TRANSACTION (1.2ms) ROLLBACK
185
1285
  TRANSACTION (1.3ms) BEGIN
186
-  (7.9ms) TRUNCATE schema_migrations
187
-  (7.0ms) TRUNCATE ar_internal_metadata
188
-  (13.2ms) TRUNCATE message_bus_subscription_events
189
-  (11.1ms) TRUNCATE message_bus_subscriptions
190
-  (11.9ms) TRUNCATE things
191
-  (8.3ms) TRUNCATE message_bus_subscription_events
192
-  (8.0ms) TRUNCATE message_bus_subscriptions
193
- TRANSACTION (3.0ms) ROLLBACK
194
- TRANSACTION (1.8ms) BEGIN
195
-  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
196
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3f325659-d481-4381-be8a-2c757d633ccd"], ["LIMIT", 1]]
197
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
198
- NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "3f325659-d481-4381-be8a-2c757d633ccd"], ["subscription_group_id", "37b11ff0-0478-4be8-b96d-b8304da2a802"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"3f325659-d481-4381-be8a-2c757d633ccd\",\n subscriptionGroupId: \"37b11ff0-0478-4be8-b96d-b8304da2a802\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:02.639021"], ["updated_at", "2022-04-13 18:41:02.639021"]]
199
- TRANSACTION (2.0ms) RELEASE SAVEPOINT active_record_1
1286
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1287
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "14480961-0bd4-4330-b41e-e6c93502c807"], ["LIMIT", 1]]
1288
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
1289
+ 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", "14480961-0bd4-4330-b41e-e6c93502c807"], ["subscription_group_id", "d00fad9f-51b4-42c7-843a-4bc1165c1072"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"14480961-0bd4-4330-b41e-e6c93502c807\",\n subscriptionGroupId: \"d00fad9f-51b4-42c7-843a-4bc1165c1072\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:15.527668"], ["updated_at", "2022-04-06 21:01:15.527668"]]
1290
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
200
1291
   (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
201
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3f325659-d481-4381-be8a-2c757d633ccd"], ["LIMIT", 1]]
202
-  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
203
- NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
204
- NulogyMessageBusProducer::SubscriptionEvent Load (1.9ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "9bd92f2f-c13a-462b-b0c3-0c1fc7587c11"], ["LIMIT", 1]]
205
- TRANSACTION (2.5ms) SAVEPOINT active_record_1
206
- NulogyMessageBusProducer::SubscriptionEvent Create (3.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", "9bd92f2f-c13a-462b-b0c3-0c1fc7587c11"], ["subscription_id", "9aec27cd-f879-46bc-82b8-85994622b0f0"], ["partition_key", "ae4912a7-047d-4253-8487-27159931cc96,c43f3ab2-dcc6-49bf-8e98-8a080c24274b"], ["topic_name", "configured_topic"], ["company_uuid", "c43f3ab2-dcc6-49bf-8e98-8a080c24274b"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:02.682970"]]
207
- TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
208
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3f325659-d481-4381-be8a-2c757d633ccd"], ["LIMIT", 1]]
209
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3f325659-d481-4381-be8a-2c757d633ccd"], ["LIMIT", 1]]
210
- 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", "f840d15c-3dea-4055-9a68-76328fcd84f5"], ["LIMIT", 1]]
211
- TRANSACTION (1.7ms) SAVEPOINT active_record_1
212
- 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", "f840d15c-3dea-4055-9a68-76328fcd84f5"], ["subscription_id", "3f325659-d481-4381-be8a-2c757d633ccd"], ["partition_key", "37b11ff0-0478-4be8-b96d-b8304da2a802,c43f3ab2-dcc6-49bf-8e98-8a080c24274b"], ["topic_name", "self_serve_topic"], ["company_uuid", "c43f3ab2-dcc6-49bf-8e98-8a080c24274b"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:02.704962"]]
213
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
214
-  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
215
- NulogyMessageBusProducer::SubscriptionEvent Load (1.8ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "3f325659-d481-4381-be8a-2c757d633ccd"], ["LIMIT", 1]]
216
- 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", "9aec27cd-f879-46bc-82b8-85994622b0f0"], ["LIMIT", 1]]
217
- TRANSACTION (1.4ms) ROLLBACK
218
- TRANSACTION (1.4ms) BEGIN
219
-  (3.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
220
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b8fd32da-0cd3-4398-acf4-f86e5d50598c"], ["LIMIT", 1]]
1292
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "14480961-0bd4-4330-b41e-e6c93502c807"], ["LIMIT", 1]]
1293
+ TRANSACTION (2.0ms) SAVEPOINT active_record_1
1294
+ 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: \"14480961-0bd4-4330-b41e-e6c93502c807\",\n subscriptionGroupId: \"d00fad9f-51b4-42c7-843a-4bc1165c1072\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-06 21:01:15.537211"], ["id", "14480961-0bd4-4330-b41e-e6c93502c807"]]
1295
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
1296
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1297
+ TRANSACTION (1.8ms) ROLLBACK
1298
+ TRANSACTION (1.2ms) BEGIN
1299
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "8a082fca-47b2-43de-b452-6b8e880746df"], ["LIMIT", 1]]
221
1300
  TRANSACTION (2.0ms) SAVEPOINT active_record_1
222
- 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", "b8fd32da-0cd3-4398-acf4-f86e5d50598c"], ["subscription_group_id", "b421eca0-5e97-416b-9561-6116751f910c"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b8fd32da-0cd3-4398-acf4-f86e5d50598c\",\n subscriptionGroupId: \"b421eca0-5e97-416b-9561-6116751f910c\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:02.734519"], ["updated_at", "2022-04-13 18:41:02.734519"]]
1301
+ 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", "8a082fca-47b2-43de-b452-6b8e880746df"], ["subscription_group_id", "9bfa1499-7043-4863-80a5-edad878d599b"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"8a082fca-47b2-43de-b452-6b8e880746df\",\n subscriptionGroupId: \"9bfa1499-7043-4863-80a5-edad878d599b\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:15.562076"], ["updated_at", "2022-04-06 21:01:15.562076"]]
223
1302
  TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
224
-  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
225
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b8fd32da-0cd3-4398-acf4-f86e5d50598c"], ["LIMIT", 1]]
226
-  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
227
- 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"]]
228
- 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", "93db1a0a-6f1e-426f-a802-0af919a206f6"], ["LIMIT", 1]]
229
- TRANSACTION (1.3ms) SAVEPOINT active_record_1
230
- 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", "93db1a0a-6f1e-426f-a802-0af919a206f6"], ["subscription_id", "b8fd32da-0cd3-4398-acf4-f86e5d50598c"], ["partition_key", "e7c78d13-ab54-4255-94e0-4dda94389b57,d3f2fd8c-3d42-4294-97be-7907ad9a667b"], ["topic_name", "configured_topic"], ["company_uuid", "d3f2fd8c-3d42-4294-97be-7907ad9a667b"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:02.758223"]]
1303
+ TRANSACTION (1.1ms) ROLLBACK
1304
+ TRANSACTION (1.1ms) BEGIN
1305
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1306
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1f329b2d-efe9-47fc-8160-73b231f0368d"], ["LIMIT", 1]]
1307
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1308
+ 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", "1f329b2d-efe9-47fc-8160-73b231f0368d"], ["subscription_group_id", "ace46293-1ac4-4b61-886f-634d929ca6a7"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1f329b2d-efe9-47fc-8160-73b231f0368d\",\n subscriptionGroupId: \"ace46293-1ac4-4b61-886f-634d929ca6a7\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:15.606343"], ["updated_at", "2022-04-06 21:01:15.606343"]]
1309
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
1310
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1311
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1f329b2d-efe9-47fc-8160-73b231f0368d"], ["LIMIT", 1]]
1312
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1313
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b578da32-6c74-4875-87a3-fd619f1b993b"], ["LIMIT", 1]]
1314
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
1315
+ 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", "b578da32-6c74-4875-87a3-fd619f1b993b"], ["subscription_group_id", "3ae10d20-aa71-4107-84e5-2cd3fb9b8848"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b578da32-6c74-4875-87a3-fd619f1b993b\",\n subscriptionGroupId: \"3ae10d20-aa71-4107-84e5-2cd3fb9b8848\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:15.620971"], ["updated_at", "2022-04-06 21:01:15.620971"]]
231
1316
  TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
232
-  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
233
- 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", "b8fd32da-0cd3-4398-acf4-f86e5d50598c"], ["LIMIT", 1]]
234
- TRANSACTION (1.2ms) ROLLBACK
1317
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1318
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b578da32-6c74-4875-87a3-fd619f1b993b"], ["LIMIT", 1]]
1319
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1320
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cfb92846-a74e-45cc-8b1d-c749fa117092"], ["LIMIT", 1]]
1321
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1322
+ 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", "cfb92846-a74e-45cc-8b1d-c749fa117092"], ["subscription_group_id", "1bb22007-6512-4502-bc66-e2257cc30586"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"cfb92846-a74e-45cc-8b1d-c749fa117092\",\n subscriptionGroupId: \"1bb22007-6512-4502-bc66-e2257cc30586\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:15.635240"], ["updated_at", "2022-04-06 21:01:15.635240"]]
1323
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1324
+  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1325
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cfb92846-a74e-45cc-8b1d-c749fa117092"], ["LIMIT", 1]]
1326
+ 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"]]
1327
+ TRANSACTION (1.1ms) ROLLBACK
235
1328
  TRANSACTION (1.3ms) BEGIN
236
-  (2.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
237
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f051859e-a5f2-43b9-ac9a-e9fdcf88e8d7"], ["LIMIT", 1]]
238
- TRANSACTION (1.7ms) SAVEPOINT active_record_1
239
- 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", "f051859e-a5f2-43b9-ac9a-e9fdcf88e8d7"], ["subscription_group_id", "555792bc-2606-4041-93f2-46da34d5c9f3"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"f051859e-a5f2-43b9-ac9a-e9fdcf88e8d7\",\n subscriptionGroupId: \"555792bc-2606-4041-93f2-46da34d5c9f3\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:02.781787"], ["updated_at", "2022-04-13 18:41:02.781787"]]
240
- TRANSACTION (2.5ms) RELEASE SAVEPOINT active_record_1
1329
+ 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"]]
1330
+ TRANSACTION (1.2ms) ROLLBACK
1331
+ TRANSACTION (1.2ms) BEGIN
241
1332
   (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
242
- NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f051859e-a5f2-43b9-ac9a-e9fdcf88e8d7"], ["LIMIT", 1]]
243
-  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
244
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9c405090-c825-4a2b-a8f4-4a50ac258d6c"], ["LIMIT", 1]]
245
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
246
- 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", "9c405090-c825-4a2b-a8f4-4a50ac258d6c"], ["subscription_group_id", "13c796b7-2c01-4be7-bd86-82d6c922ff62"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9c405090-c825-4a2b-a8f4-4a50ac258d6c\",\n subscriptionGroupId: \"13c796b7-2c01-4be7-bd86-82d6c922ff62\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:02.803339"], ["updated_at", "2022-04-13 18:41:02.803339"]]
1333
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c6f18350-49f4-45bf-b864-3b3baef2ed3f"], ["LIMIT", 1]]
1334
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1335
+ 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", "c6f18350-49f4-45bf-b864-3b3baef2ed3f"], ["subscription_group_id", "f35b2522-4443-4ee7-b9b4-b63a7936bf55"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c6f18350-49f4-45bf-b864-3b3baef2ed3f\",\n subscriptionGroupId: \"f35b2522-4443-4ee7-b9b4-b63a7936bf55\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:15.667044"], ["updated_at", "2022-04-06 21:01:15.667044"]]
1336
+ TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
1337
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1338
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c6f18350-49f4-45bf-b864-3b3baef2ed3f"], ["LIMIT", 1]]
1339
+ 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"]]
1340
+ TRANSACTION (1.1ms) ROLLBACK
1341
+ TRANSACTION (1.2ms) BEGIN
1342
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1343
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f35b8844-82e2-4448-b920-b2995636e920"], ["LIMIT", 1]]
1344
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1345
+ 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", "f35b8844-82e2-4448-b920-b2995636e920"], ["subscription_group_id", "4ef78111-b049-47fa-b7b3-81fd7f89795d"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"f35b8844-82e2-4448-b920-b2995636e920\",\n subscriptionGroupId: \"4ef78111-b049-47fa-b7b3-81fd7f89795d\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-06 21:01:15.690830"], ["updated_at", "2022-04-06 21:01:15.690830"]]
247
1346
  TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
248
-  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
249
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9c405090-c825-4a2b-a8f4-4a50ac258d6c"], ["LIMIT", 1]]
250
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
251
- 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"]]
252
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f051859e-a5f2-43b9-ac9a-e9fdcf88e8d7"], ["LIMIT", 1]]
253
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f051859e-a5f2-43b9-ac9a-e9fdcf88e8d7"], ["LIMIT", 1]]
254
- 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", "aca50113-3318-44ac-931f-fe6d350afac6"], ["LIMIT", 1]]
255
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
256
- NulogyMessageBusProducer::SubscriptionEvent Create (1.9ms) 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", "aca50113-3318-44ac-931f-fe6d350afac6"], ["subscription_id", "f051859e-a5f2-43b9-ac9a-e9fdcf88e8d7"], ["partition_key", "555792bc-2606-4041-93f2-46da34d5c9f3,1da00eda-c44b-4239-b00d-0d70249e15a3"], ["topic_name", "some_topic"], ["company_uuid", "1da00eda-c44b-4239-b00d-0d70249e15a3"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:02.825008"]]
257
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
258
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9c405090-c825-4a2b-a8f4-4a50ac258d6c"], ["LIMIT", 1]]
259
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9c405090-c825-4a2b-a8f4-4a50ac258d6c"], ["LIMIT", 1]]
260
- 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", "abeece81-5596-4a53-b0d6-111159a08ef1"], ["LIMIT", 1]]
261
- TRANSACTION (1.3ms) SAVEPOINT active_record_1
262
- 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", "abeece81-5596-4a53-b0d6-111159a08ef1"], ["subscription_id", "9c405090-c825-4a2b-a8f4-4a50ac258d6c"], ["partition_key", "13c796b7-2c01-4be7-bd86-82d6c922ff62,1da00eda-c44b-4239-b00d-0d70249e15a3"], ["topic_name", "some_topic"], ["company_uuid", "1da00eda-c44b-4239-b00d-0d70249e15a3"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:02.838043"]]
263
- TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
264
-  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
265
-  (1.5ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
1347
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1348
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f35b8844-82e2-4448-b920-b2995636e920"], ["LIMIT", 1]]
1349
+ 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"]]
266
1350
  TRANSACTION (1.5ms) ROLLBACK
267
- TRANSACTION (1.4ms) BEGIN
268
-  (3.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
269
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a207eee6-72e5-48dd-84bd-9c276598821a"], ["LIMIT", 1]]
1351
+ TRANSACTION (1.6ms) BEGIN
1352
+  (10.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1353
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "04bf32ef-4e3f-4abf-8bf8-26de55cff832"], ["LIMIT", 1]]
270
1354
  TRANSACTION (2.1ms) SAVEPOINT active_record_1
271
- NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "a207eee6-72e5-48dd-84bd-9c276598821a"], ["subscription_group_id", "dd94ff14-bead-4e26-9697-9af5e522e9ac"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"a207eee6-72e5-48dd-84bd-9c276598821a\",\n subscriptionGroupId: \"dd94ff14-bead-4e26-9697-9af5e522e9ac\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:02.863839"], ["updated_at", "2022-04-13 18:41:02.863839"]]
272
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
273
-  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
274
- NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a207eee6-72e5-48dd-84bd-9c276598821a"], ["LIMIT", 1]]
275
- NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
276
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a207eee6-72e5-48dd-84bd-9c276598821a"], ["LIMIT", 1]]
277
- NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a207eee6-72e5-48dd-84bd-9c276598821a"], ["LIMIT", 1]]
278
- 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", "c819e56a-def0-4623-8de0-8a4cb4f54816"], ["LIMIT", 1]]
279
- TRANSACTION (1.3ms) SAVEPOINT active_record_1
280
- 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", "c819e56a-def0-4623-8de0-8a4cb4f54816"], ["subscription_id", "a207eee6-72e5-48dd-84bd-9c276598821a"], ["partition_key", "dd94ff14-bead-4e26-9697-9af5e522e9ac,1fd1c71b-146a-4197-9073-34eef39ac4ce"], ["topic_name", "some_topic"], ["company_uuid", "1fd1c71b-146a-4197-9073-34eef39ac4ce"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:02.890123"]]
1355
+ NulogyMessageBusProducer::SelfServeSubscription Create (7.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", "04bf32ef-4e3f-4abf-8bf8-26de55cff832"], ["subscription_group_id", "3bc6e311-0bc9-471c-8a07-4e1b76a51cdb"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"04bf32ef-4e3f-4abf-8bf8-26de55cff832\",\n subscriptionGroupId: \"3bc6e311-0bc9-471c-8a07-4e1b76a51cdb\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.561522"], ["updated_at", "2022-04-07 15:19:26.561522"]]
1356
+ TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
1357
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1358
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "04bf32ef-4e3f-4abf-8bf8-26de55cff832"], ["LIMIT", 1]]
1359
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1360
+ TRANSACTION (1.5ms) ROLLBACK
1361
+ TRANSACTION (1.3ms) BEGIN
1362
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1363
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2b3cfb7b-6f86-4673-bc81-e02cd23012e0"], ["LIMIT", 1]]
1364
+ TRANSACTION (2.2ms) SAVEPOINT active_record_1
1365
+ 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", "2b3cfb7b-6f86-4673-bc81-e02cd23012e0"], ["subscription_group_id", "76256041-0d8f-4e89-9ecb-5b7ce98e5885"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2b3cfb7b-6f86-4673-bc81-e02cd23012e0\",\n subscriptionGroupId: \"76256041-0d8f-4e89-9ecb-5b7ce98e5885\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.607198"], ["updated_at", "2022-04-07 15:19:26.607198"]]
281
1366
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
282
- 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", "a207eee6-72e5-48dd-84bd-9c276598821a"], ["LIMIT", 1]]
283
- TRANSACTION (1.2ms) ROLLBACK
284
- TRANSACTION (1.4ms) BEGIN
285
-  (3.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
286
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f1d418f0-3599-409e-beac-f9408155039a"], ["LIMIT", 1]]
287
- TRANSACTION (2.4ms) SAVEPOINT active_record_1
288
- NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "f1d418f0-3599-409e-beac-f9408155039a"], ["subscription_group_id", "c1dc04d6-2ee9-4b18-b26e-00b9da45ef88"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"f1d418f0-3599-409e-beac-f9408155039a\",\n subscriptionGroupId: \"c1dc04d6-2ee9-4b18-b26e-00b9da45ef88\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:02.912176"], ["updated_at", "2022-04-13 18:41:02.912176"]]
289
- TRANSACTION (3.0ms) RELEASE SAVEPOINT active_record_1
290
-  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
291
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f1d418f0-3599-409e-beac-f9408155039a"], ["LIMIT", 1]]
292
- 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"]]
293
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f1d418f0-3599-409e-beac-f9408155039a"], ["LIMIT", 1]]
294
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f1d418f0-3599-409e-beac-f9408155039a"], ["LIMIT", 1]]
295
- 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", "2e671de1-bc0f-4527-a19f-0c1759c15e56"], ["LIMIT", 1]]
296
- TRANSACTION (1.3ms) SAVEPOINT active_record_1
297
- 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", "2e671de1-bc0f-4527-a19f-0c1759c15e56"], ["subscription_id", "f1d418f0-3599-409e-beac-f9408155039a"], ["partition_key", "c1dc04d6-2ee9-4b18-b26e-00b9da45ef88,8d10575d-c68f-41b3-923d-1c8251ccfd05"], ["topic_name", "some_topic"], ["company_uuid", "8d10575d-c68f-41b3-923d-1c8251ccfd05"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2022-04-13 18:41:02.946383"]]
1367
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1368
+ NulogyMessageBusProducer::SelfServeSubscription Load (4.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2b3cfb7b-6f86-4673-bc81-e02cd23012e0"], ["LIMIT", 1]]
1369
+ TRANSACTION (2.0ms) SAVEPOINT active_record_1
1370
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.8ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"2b3cfb7b-6f86-4673-bc81-e02cd23012e0\",\n subscriptionGroupId: \"76256041-0d8f-4e89-9ecb-5b7ce98e5885\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-07 15:19:26.620181"], ["id", "2b3cfb7b-6f86-4673-bc81-e02cd23012e0"]]
298
1371
  TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
299
- 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", "f1d418f0-3599-409e-beac-f9408155039a"], ["LIMIT", 1]]
300
- TRANSACTION (1.4ms) ROLLBACK
301
- TRANSACTION (2.5ms) BEGIN
302
- 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"]]
303
- NulogyMessageBusProducer::SubscriptionEvent Load (2.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "a915a334-1363-4b5a-ab34-224bfe17ad35"], ["LIMIT", 1]]
304
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
305
- 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", "a915a334-1363-4b5a-ab34-224bfe17ad35"], ["subscription_id", "e2fccd78-753b-442f-a100-c24aaa86eb7b"], ["partition_key", "f8839b91-75a1-466d-bbf3-ad2d976dc06d,53ecbdef-c1a3-4fd9-9537-46700aa931d8"], ["topic_name", "some_topic"], ["company_uuid", "53ecbdef-c1a3-4fd9-9537-46700aa931d8"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:02.970124"]]
306
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
307
- NulogyMessageBusProducer::SubscriptionEvent Load (2.8ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "e2fccd78-753b-442f-a100-c24aaa86eb7b"], ["LIMIT", 1]]
308
- TRANSACTION (1.9ms) ROLLBACK
1372
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1373
+ TRANSACTION (1.2ms) ROLLBACK
309
1374
  TRANSACTION (1.3ms) BEGIN
310
-  (3.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
311
- NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "01d4d77c-bf09-4daa-8fd3-2bb1111f187a"], ["LIMIT", 1]]
312
- TRANSACTION (1.7ms) SAVEPOINT active_record_1
313
- 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", "01d4d77c-bf09-4daa-8fd3-2bb1111f187a"], ["subscription_group_id", "2689e576-794d-4a20-b744-084d5fbc03cd"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"01d4d77c-bf09-4daa-8fd3-2bb1111f187a\",\n subscriptionGroupId: \"2689e576-794d-4a20-b744-084d5fbc03cd\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:02.999013"], ["updated_at", "2022-04-13 18:41:02.999013"]]
314
- TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
315
-  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
316
- NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "01d4d77c-bf09-4daa-8fd3-2bb1111f187a"], ["LIMIT", 1]]
317
- TRANSACTION (3.4ms) SAVEPOINT active_record_1
318
- NulogyMessageBusProducer::SelfServeSubscription Update (1.9ms) 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", "2022-04-13 18:41:03.012239"], ["id", "01d4d77c-bf09-4daa-8fd3-2bb1111f187a"]]
319
- TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
320
- 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"]]
321
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "01d4d77c-bf09-4daa-8fd3-2bb1111f187a"], ["LIMIT", 1]]
322
- TRANSACTION (1.7ms) ROLLBACK
323
- TRANSACTION (3.0ms) BEGIN
324
-  (2.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
325
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "337ccb69-182d-4189-857c-c6dd7cebec06"], ["LIMIT", 1]]
326
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
327
- 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", "337ccb69-182d-4189-857c-c6dd7cebec06"], ["subscription_group_id", "2fe5f9f7-9512-4fbe-97ca-6e5ee8e0b52a"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"337ccb69-182d-4189-857c-c6dd7cebec06\",\n subscriptionGroupId: \"2fe5f9f7-9512-4fbe-97ca-6e5ee8e0b52a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:03.047876"], ["updated_at", "2022-04-13 18:41:03.047876"]]
1375
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1376
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ca283518-efe4-45e6-a20e-ed61c8cc151f"], ["LIMIT", 1]]
1377
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1378
+ 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", "ca283518-efe4-45e6-a20e-ed61c8cc151f"], ["subscription_group_id", "8505c474-2da7-47cd-9aca-9b0dbf313d5e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ca283518-efe4-45e6-a20e-ed61c8cc151f\",\n subscriptionGroupId: \"8505c474-2da7-47cd-9aca-9b0dbf313d5e\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.641548"], ["updated_at", "2022-04-07 15:19:26.641548"]]
1379
+ TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
1380
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1381
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ca283518-efe4-45e6-a20e-ed61c8cc151f"], ["LIMIT", 1]]
1382
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1383
+ 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: \"ca283518-efe4-45e6-a20e-ed61c8cc151f\",\n subscriptionGroupId: \"8505c474-2da7-47cd-9aca-9b0dbf313d5e\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-07 15:19:26.650954"], ["id", "ca283518-efe4-45e6-a20e-ed61c8cc151f"]]
1384
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1385
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1386
+ TRANSACTION (1.0ms) ROLLBACK
1387
+ TRANSACTION (1.1ms) BEGIN
1388
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1389
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5e26980b-aa2c-43dc-9fb2-f7745411a0a0"], ["LIMIT", 1]]
1390
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
1391
+ 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", "5e26980b-aa2c-43dc-9fb2-f7745411a0a0"], ["subscription_group_id", "f05fa637-d604-4238-869f-0a90d96ee860"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"5e26980b-aa2c-43dc-9fb2-f7745411a0a0\",\n subscriptionGroupId: \"f05fa637-d604-4238-869f-0a90d96ee860\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.668761"], ["updated_at", "2022-04-07 15:19:26.668761"]]
1392
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1393
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1394
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5e26980b-aa2c-43dc-9fb2-f7745411a0a0"], ["LIMIT", 1]]
1395
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1396
+ NulogyMessageBusProducer::SelfServeSubscription Update (3.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", "2022-04-07 15:19:26.677225"], ["id", "5e26980b-aa2c-43dc-9fb2-f7745411a0a0"]]
328
1397
  TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
329
-  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
330
- NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "337ccb69-182d-4189-857c-c6dd7cebec06"], ["LIMIT", 1]]
331
- TRANSACTION (2.0ms) SAVEPOINT active_record_1
332
- NulogyMessageBusProducer::SelfServeSubscription Update (3.0ms) 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", "2022-04-13 18:41:03.059766"], ["id", "337ccb69-182d-4189-857c-c6dd7cebec06"]]
1398
+ NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
1399
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5e26980b-aa2c-43dc-9fb2-f7745411a0a0"], ["LIMIT", 1]]
1400
+ TRANSACTION (1.8ms) ROLLBACK
1401
+ TRANSACTION (1.0ms) BEGIN
1402
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1403
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "30fe17f8-bebd-4af1-ae68-fdf3eb9d63f7"], ["LIMIT", 1]]
1404
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1405
+ 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", "30fe17f8-bebd-4af1-ae68-fdf3eb9d63f7"], ["subscription_group_id", "a2f9ebd5-a40d-47d5-a616-e3035e88eb61"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"30fe17f8-bebd-4af1-ae68-fdf3eb9d63f7\",\n subscriptionGroupId: \"a2f9ebd5-a40d-47d5-a616-e3035e88eb61\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.704815"], ["updated_at", "2022-04-07 15:19:26.704815"]]
1406
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1407
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1408
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "30fe17f8-bebd-4af1-ae68-fdf3eb9d63f7"], ["LIMIT", 1]]
1409
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
1410
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.0ms) 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", "2022-04-07 15:19:26.713369"], ["id", "30fe17f8-bebd-4af1-ae68-fdf3eb9d63f7"]]
1411
+ TRANSACTION (2.4ms) RELEASE SAVEPOINT active_record_1
1412
+ 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"]]
1413
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "30fe17f8-bebd-4af1-ae68-fdf3eb9d63f7"], ["LIMIT", 1]]
1414
+ TRANSACTION (2.3ms) ROLLBACK
1415
+ TRANSACTION (1.1ms) BEGIN
1416
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1417
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "504d05bd-17e7-4f86-96cc-71d04923358b"], ["LIMIT", 1]]
1418
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
1419
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "504d05bd-17e7-4f86-96cc-71d04923358b"], ["subscription_group_id", "e14d6ba0-80ac-476f-8afa-797fdd51da09"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"504d05bd-17e7-4f86-96cc-71d04923358b\",\n subscriptionGroupId: \"e14d6ba0-80ac-476f-8afa-797fdd51da09\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.736590"], ["updated_at", "2022-04-07 15:19:26.736590"]]
333
1420
  TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
334
- 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"]]
335
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "337ccb69-182d-4189-857c-c6dd7cebec06"], ["LIMIT", 1]]
336
- TRANSACTION (1.6ms) ROLLBACK
337
- TRANSACTION (1.8ms) BEGIN
338
-  (3.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
339
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d25a3eea-27a3-46bb-af14-71b09a9c657f"], ["LIMIT", 1]]
340
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
341
- 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", "d25a3eea-27a3-46bb-af14-71b09a9c657f"], ["subscription_group_id", "7ebd3d18-c469-4dcb-9470-b475757bece3"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d25a3eea-27a3-46bb-af14-71b09a9c657f\",\n subscriptionGroupId: \"7ebd3d18-c469-4dcb-9470-b475757bece3\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:03.088040"], ["updated_at", "2022-04-13 18:41:03.088040"]]
342
- TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
343
-  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
344
- NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d25a3eea-27a3-46bb-af14-71b09a9c657f"], ["LIMIT", 1]]
345
- TRANSACTION (1.9ms) SAVEPOINT active_record_1
346
- 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", "2022-04-13 18:41:03.101593"], ["id", "d25a3eea-27a3-46bb-af14-71b09a9c657f"]]
347
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
348
- 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"]]
349
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d25a3eea-27a3-46bb-af14-71b09a9c657f"], ["LIMIT", 1]]
350
- TRANSACTION (1.4ms) ROLLBACK
351
- TRANSACTION (1.6ms) BEGIN
352
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ce808eba-10da-40c4-8fe7-40f864a9680c"], ["LIMIT", 1]]
353
- TRANSACTION (2.4ms) SAVEPOINT active_record_1
354
- NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "ce808eba-10da-40c4-8fe7-40f864a9680c"], ["subscription_group_id", "1d8c52c5-ee1e-4e65-b027-9c2f8d56ca73"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"ce808eba-10da-40c4-8fe7-40f864a9680c\",\n subscriptionGroupId: \"1d8c52c5-ee1e-4e65-b027-9c2f8d56ca73\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:03.179589"], ["updated_at", "2022-04-13 18:41:03.179589"]]
355
- TRANSACTION (3.5ms) RELEASE SAVEPOINT active_record_1
356
- TRANSACTION (2.9ms) ROLLBACK
357
- TRANSACTION (1.7ms) BEGIN
358
- TRANSACTION (1.7ms) ROLLBACK
359
- TRANSACTION (1.8ms) BEGIN
360
-  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
361
- NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fab63312-bcd7-4204-b8d3-6403a7295bef"], ["LIMIT", 1]]
362
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
363
- 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", "fab63312-bcd7-4204-b8d3-6403a7295bef"], ["subscription_group_id", "7687d414-dfff-497d-8e8e-94ba559d60e9"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"fab63312-bcd7-4204-b8d3-6403a7295bef\",\n subscriptionGroupId: \"7687d414-dfff-497d-8e8e-94ba559d60e9\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.248279"], ["updated_at", "2022-04-13 18:41:27.248279"]]
1421
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1422
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "504d05bd-17e7-4f86-96cc-71d04923358b"], ["LIMIT", 1]]
1423
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1424
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.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", "2022-04-07 15:19:26.745882"], ["id", "504d05bd-17e7-4f86-96cc-71d04923358b"]]
1425
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
1426
+ 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"]]
1427
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "504d05bd-17e7-4f86-96cc-71d04923358b"], ["LIMIT", 1]]
1428
+ TRANSACTION (1.2ms) ROLLBACK
1429
+ TRANSACTION (1.2ms) BEGIN
1430
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1431
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "738dfa29-2c62-4944-b396-e8b6751cbd64"], ["LIMIT", 1]]
1432
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
1433
+ 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", "738dfa29-2c62-4944-b396-e8b6751cbd64"], ["subscription_group_id", "90e539ac-f51b-47f8-9249-25c8d8d5233c"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"738dfa29-2c62-4944-b396-e8b6751cbd64\",\n subscriptionGroupId: \"90e539ac-f51b-47f8-9249-25c8d8d5233c\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.767688"], ["updated_at", "2022-04-07 15:19:26.767688"]]
1434
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1435
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1436
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "738dfa29-2c62-4944-b396-e8b6751cbd64"], ["LIMIT", 1]]
1437
+ 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"]]
1438
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "738dfa29-2c62-4944-b396-e8b6751cbd64"], ["LIMIT", 1]]
1439
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "738dfa29-2c62-4944-b396-e8b6751cbd64"], ["LIMIT", 1]]
1440
+ NulogyMessageBusProducer::SubscriptionEvent Load (3.4ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "c7acac46-557d-4f01-8605-91c0bad44b97"], ["LIMIT", 1]]
1441
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1442
+ NulogyMessageBusProducer::SubscriptionEvent Create (2.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", "c7acac46-557d-4f01-8605-91c0bad44b97"], ["subscription_id", "738dfa29-2c62-4944-b396-e8b6751cbd64"], ["partition_key", "90e539ac-f51b-47f8-9249-25c8d8d5233c,aa71780d-6fea-4f08-915b-8ba9415c1a17"], ["topic_name", "some_topic"], ["company_uuid", "aa71780d-6fea-4f08-915b-8ba9415c1a17"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2022-04-07 15:19:26.798086"]]
364
1443
  TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
1444
+ 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", "738dfa29-2c62-4944-b396-e8b6751cbd64"], ["LIMIT", 1]]
1445
+ TRANSACTION (1.9ms) ROLLBACK
1446
+ TRANSACTION (1.1ms) BEGIN
365
1447
   (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
366
- NulogyMessageBusProducer::SelfServeSubscription Load (3.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fab63312-bcd7-4204-b8d3-6403a7295bef"], ["LIMIT", 1]]
367
- NulogyMessageBusProducer::SelfServeSubscription Load (3.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
368
- TRANSACTION (2.4ms) ROLLBACK
369
- TRANSACTION (1.7ms) BEGIN
370
-  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
371
- NulogyMessageBusProducer::SelfServeSubscription Load (3.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "65a6b583-dc24-47eb-b12b-9a5619d32977"], ["LIMIT", 1]]
372
- TRANSACTION (2.7ms) SAVEPOINT active_record_1
373
- NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "65a6b583-dc24-47eb-b12b-9a5619d32977"], ["subscription_group_id", "32492f1d-d30b-4963-ac4c-7f3657cd09bd"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"65a6b583-dc24-47eb-b12b-9a5619d32977\",\n subscriptionGroupId: \"32492f1d-d30b-4963-ac4c-7f3657cd09bd\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.290359"], ["updated_at", "2022-04-13 18:41:27.290359"]]
374
- TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
1448
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a1052094-eabd-4a62-b2ec-d0039a0ef538"], ["LIMIT", 1]]
1449
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1450
+ 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", "a1052094-eabd-4a62-b2ec-d0039a0ef538"], ["subscription_group_id", "6510c452-a332-4a67-9674-e903ace866bf"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"a1052094-eabd-4a62-b2ec-d0039a0ef538\",\n subscriptionGroupId: \"6510c452-a332-4a67-9674-e903ace866bf\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.823566"], ["updated_at", "2022-04-07 15:19:26.823566"]]
1451
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
375
1452
   (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
376
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "65a6b583-dc24-47eb-b12b-9a5619d32977"], ["LIMIT", 1]]
1453
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a1052094-eabd-4a62-b2ec-d0039a0ef538"], ["LIMIT", 1]]
1454
+ 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"]]
1455
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a1052094-eabd-4a62-b2ec-d0039a0ef538"], ["LIMIT", 1]]
1456
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a1052094-eabd-4a62-b2ec-d0039a0ef538"], ["LIMIT", 1]]
1457
+ 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", "1c0f6fd1-116c-4eee-a818-463fa5aed1a1"], ["LIMIT", 1]]
1458
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1459
+ 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", "1c0f6fd1-116c-4eee-a818-463fa5aed1a1"], ["subscription_id", "a1052094-eabd-4a62-b2ec-d0039a0ef538"], ["partition_key", "6510c452-a332-4a67-9674-e903ace866bf,1f18f093-45cd-47e3-9402-6451fc5ec5e8"], ["topic_name", "some_topic"], ["company_uuid", "1f18f093-45cd-47e3-9402-6451fc5ec5e8"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-07 15:19:26.842891"]]
1460
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1461
+ 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", "a1052094-eabd-4a62-b2ec-d0039a0ef538"], ["LIMIT", 1]]
1462
+ TRANSACTION (1.3ms) ROLLBACK
1463
+ TRANSACTION (1.1ms) BEGIN
1464
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1465
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2f296986-8b49-420a-a697-30c7d25ee2e6"], ["LIMIT", 1]]
1466
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1467
+ 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", "2f296986-8b49-420a-a697-30c7d25ee2e6"], ["subscription_group_id", "33691cfe-93fc-4138-a213-a8fdc2f9fcd1"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2f296986-8b49-420a-a697-30c7d25ee2e6\",\n subscriptionGroupId: \"33691cfe-93fc-4138-a213-a8fdc2f9fcd1\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.859954"], ["updated_at", "2022-04-07 15:19:26.859954"]]
1468
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
1469
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1470
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2f296986-8b49-420a-a697-30c7d25ee2e6"], ["LIMIT", 1]]
1471
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1472
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a6701b33-1937-48b8-9d05-b2883a02c40f"], ["LIMIT", 1]]
1473
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1474
+ 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", "a6701b33-1937-48b8-9d05-b2883a02c40f"], ["subscription_group_id", "5a04a186-d009-4ced-a576-94cde7d5c64d"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"a6701b33-1937-48b8-9d05-b2883a02c40f\",\n subscriptionGroupId: \"5a04a186-d009-4ced-a576-94cde7d5c64d\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.874764"], ["updated_at", "2022-04-07 15:19:26.874764"]]
1475
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
1476
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1477
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a6701b33-1937-48b8-9d05-b2883a02c40f"], ["LIMIT", 1]]
1478
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1479
+ 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"]]
1480
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2f296986-8b49-420a-a697-30c7d25ee2e6"], ["LIMIT", 1]]
1481
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2f296986-8b49-420a-a697-30c7d25ee2e6"], ["LIMIT", 1]]
1482
+ 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", "489b301f-b40d-4c77-9e7e-901c7bdc49d8"], ["LIMIT", 1]]
1483
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1484
+ 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", "489b301f-b40d-4c77-9e7e-901c7bdc49d8"], ["subscription_id", "2f296986-8b49-420a-a697-30c7d25ee2e6"], ["partition_key", "33691cfe-93fc-4138-a213-a8fdc2f9fcd1,4e03a22a-3866-4391-a1c1-bb138fb5b4a6"], ["topic_name", "some_topic"], ["company_uuid", "4e03a22a-3866-4391-a1c1-bb138fb5b4a6"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-07 15:19:26.892770"]]
1485
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
1486
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a6701b33-1937-48b8-9d05-b2883a02c40f"], ["LIMIT", 1]]
1487
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a6701b33-1937-48b8-9d05-b2883a02c40f"], ["LIMIT", 1]]
1488
+ 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", "6ee8d316-a86f-4e41-b80d-4226315d9329"], ["LIMIT", 1]]
377
1489
  TRANSACTION (1.4ms) SAVEPOINT active_record_1
378
- NulogyMessageBusProducer::SelfServeSubscription Update (2.8ms) UPDATE "message_bus_subscriptions" SET "query" = $1, "updated_at" = $2 WHERE "message_bus_subscriptions"."id" = $3 [["query", "subscription {\n testCreated (\n subscriptionId: \"65a6b583-dc24-47eb-b12b-9a5619d32977\",\n subscriptionGroupId: \"32492f1d-d30b-4963-ac4c-7f3657cd09bd\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-13 18:41:27.305362"], ["id", "65a6b583-dc24-47eb-b12b-9a5619d32977"]]
1490
+ 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", "6ee8d316-a86f-4e41-b80d-4226315d9329"], ["subscription_id", "a6701b33-1937-48b8-9d05-b2883a02c40f"], ["partition_key", "5a04a186-d009-4ced-a576-94cde7d5c64d,4e03a22a-3866-4391-a1c1-bb138fb5b4a6"], ["topic_name", "some_topic"], ["company_uuid", "4e03a22a-3866-4391-a1c1-bb138fb5b4a6"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-07 15:19:26.904462"]]
1491
+ TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
1492
+  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1493
+  (1.8ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
1494
+ TRANSACTION (1.2ms) ROLLBACK
1495
+ TRANSACTION (1.2ms) BEGIN
1496
+ 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"]]
1497
+ NulogyMessageBusProducer::SubscriptionEvent Load (2.7ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "6e050e5c-797f-4b9e-b912-ac192b2b1a4e"], ["LIMIT", 1]]
1498
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1499
+ 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", "6e050e5c-797f-4b9e-b912-ac192b2b1a4e"], ["subscription_id", "dfb2e59d-347d-4e07-b745-f10a25955e54"], ["partition_key", "2d4e7ffc-da8a-4fdf-91c2-61a7b4dad987,e0d2b1a6-e1b1-4dd1-8cf8-46e9f3da2ee0"], ["topic_name", "some_topic"], ["company_uuid", "e0d2b1a6-e1b1-4dd1-8cf8-46e9f3da2ee0"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-07 15:19:26.928269"]]
1500
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1501
+ 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", "dfb2e59d-347d-4e07-b745-f10a25955e54"], ["LIMIT", 1]]
1502
+ TRANSACTION (2.1ms) ROLLBACK
1503
+ TRANSACTION (1.2ms) BEGIN
1504
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1505
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "aba76cf7-62f5-4e18-b5c2-b39acbb1f484"], ["LIMIT", 1]]
1506
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1507
+ 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", "aba76cf7-62f5-4e18-b5c2-b39acbb1f484"], ["subscription_group_id", "eb57e4b6-9247-46f3-bdc3-a1a12a11da02"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"aba76cf7-62f5-4e18-b5c2-b39acbb1f484\",\n subscriptionGroupId: \"eb57e4b6-9247-46f3-bdc3-a1a12a11da02\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.945881"], ["updated_at", "2022-04-07 15:19:26.945881"]]
379
1508
  TRANSACTION (2.3ms) RELEASE SAVEPOINT active_record_1
380
- NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
381
- TRANSACTION (1.6ms) ROLLBACK
382
- TRANSACTION (1.6ms) BEGIN
383
-  (3.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
384
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3e87b2ea-4a1c-4706-939d-e460fffd1e40"], ["LIMIT", 1]]
385
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
386
- 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", "3e87b2ea-4a1c-4706-939d-e460fffd1e40"], ["subscription_group_id", "b68a8915-fe27-43cf-b4fa-cfb8a2d62f64"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"3e87b2ea-4a1c-4706-939d-e460fffd1e40\",\n subscriptionGroupId: \"b68a8915-fe27-43cf-b4fa-cfb8a2d62f64\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.334390"], ["updated_at", "2022-04-13 18:41:27.334390"]]
387
- TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
388
-  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
389
- NulogyMessageBusProducer::SelfServeSubscription Load (3.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3e87b2ea-4a1c-4706-939d-e460fffd1e40"], ["LIMIT", 1]]
390
- TRANSACTION (2.4ms) SAVEPOINT active_record_1
391
- 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: \"3e87b2ea-4a1c-4706-939d-e460fffd1e40\",\n subscriptionGroupId: \"b68a8915-fe27-43cf-b4fa-cfb8a2d62f64\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-04-13 18:41:27.348475"], ["id", "3e87b2ea-4a1c-4706-939d-e460fffd1e40"]]
392
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
393
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
394
- TRANSACTION (1.6ms) ROLLBACK
395
- TRANSACTION (1.7ms) BEGIN
396
-  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
397
- NulogyMessageBusProducer::SelfServeSubscription Load (3.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e374f178-4c47-42ae-9bb0-8d1a24518899"], ["LIMIT", 1]]
398
- TRANSACTION (4.0ms) SAVEPOINT active_record_1
399
- NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "e374f178-4c47-42ae-9bb0-8d1a24518899"], ["subscription_group_id", "00af5f39-c1b6-4660-b4ae-5838f078ebe5"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"e374f178-4c47-42ae-9bb0-8d1a24518899\",\n subscriptionGroupId: \"00af5f39-c1b6-4660-b4ae-5838f078ebe5\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.386269"], ["updated_at", "2022-04-13 18:41:27.386269"]]
400
- TRANSACTION (2.0ms) RELEASE SAVEPOINT active_record_1
401
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
402
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e374f178-4c47-42ae-9bb0-8d1a24518899"], ["LIMIT", 1]]
403
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
404
- NulogyMessageBusProducer::SelfServeSubscription Load (3.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2be54c8d-03a7-4caf-9062-07bea3816947"], ["LIMIT", 1]]
405
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
406
- 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", "2be54c8d-03a7-4caf-9062-07bea3816947"], ["subscription_group_id", "bc44c3fc-b8b7-4409-8c78-4f494ea936f2"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2be54c8d-03a7-4caf-9062-07bea3816947\",\n subscriptionGroupId: \"bc44c3fc-b8b7-4409-8c78-4f494ea936f2\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.412921"], ["updated_at", "2022-04-13 18:41:27.412921"]]
407
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
408
-  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
409
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2be54c8d-03a7-4caf-9062-07bea3816947"], ["LIMIT", 1]]
410
1509
   (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
411
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d6bb7500-26e7-4492-b06a-4983443bd276"], ["LIMIT", 1]]
1510
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "aba76cf7-62f5-4e18-b5c2-b39acbb1f484"], ["LIMIT", 1]]
1511
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1512
+ 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"]]
1513
+ 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", "93074272-92e2-4f61-b028-75f6c9f0fbac"], ["LIMIT", 1]]
412
1514
  TRANSACTION (1.4ms) SAVEPOINT active_record_1
413
- 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", "d6bb7500-26e7-4492-b06a-4983443bd276"], ["subscription_group_id", "5f7fabc9-d4ed-4a71-903b-835e2d86f132"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"d6bb7500-26e7-4492-b06a-4983443bd276\",\n subscriptionGroupId: \"5f7fabc9-d4ed-4a71-903b-835e2d86f132\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.429776"], ["updated_at", "2022-04-13 18:41:27.429776"]]
1515
+ 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", "93074272-92e2-4f61-b028-75f6c9f0fbac"], ["subscription_id", "f922e406-0722-4951-89e2-ff1d8db9301c"], ["partition_key", "5f4d74b9-efe7-468e-bbfc-87f06e028521,b0743ccb-1e50-4d28-9436-2cd5582dd9af"], ["topic_name", "configured_topic"], ["company_uuid", "b0743ccb-1e50-4d28-9436-2cd5582dd9af"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-07 15:19:26.964578"]]
414
1516
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
415
-  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
416
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d6bb7500-26e7-4492-b06a-4983443bd276"], ["LIMIT", 1]]
417
- 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"]]
418
- TRANSACTION (1.4ms) ROLLBACK
419
- TRANSACTION (1.8ms) BEGIN
420
- 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"]]
421
- TRANSACTION (1.7ms) ROLLBACK
422
- TRANSACTION (1.9ms) BEGIN
423
-  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
424
- NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6ef5daac-4db4-411d-b3c9-8b8acafa3c32"], ["LIMIT", 1]]
425
- TRANSACTION (2.3ms) SAVEPOINT active_record_1
426
- 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", "6ef5daac-4db4-411d-b3c9-8b8acafa3c32"], ["subscription_group_id", "246dad80-77ae-4b73-8144-1b6a7e71b75a"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"6ef5daac-4db4-411d-b3c9-8b8acafa3c32\",\n subscriptionGroupId: \"246dad80-77ae-4b73-8144-1b6a7e71b75a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.477042"], ["updated_at", "2022-04-13 18:41:27.477042"]]
427
- TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
428
-  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
429
- NulogyMessageBusProducer::SelfServeSubscription Load (2.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6ef5daac-4db4-411d-b3c9-8b8acafa3c32"], ["LIMIT", 1]]
430
- NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
431
- TRANSACTION (1.5ms) ROLLBACK
1517
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "aba76cf7-62f5-4e18-b5c2-b39acbb1f484"], ["LIMIT", 1]]
1518
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "aba76cf7-62f5-4e18-b5c2-b39acbb1f484"], ["LIMIT", 1]]
1519
+ 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", "002b3197-d674-4d4b-9588-30ef20cf20e7"], ["LIMIT", 1]]
1520
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
1521
+ 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", "002b3197-d674-4d4b-9588-30ef20cf20e7"], ["subscription_id", "aba76cf7-62f5-4e18-b5c2-b39acbb1f484"], ["partition_key", "eb57e4b6-9247-46f3-bdc3-a1a12a11da02,b0743ccb-1e50-4d28-9436-2cd5582dd9af"], ["topic_name", "self_serve_topic"], ["company_uuid", "b0743ccb-1e50-4d28-9436-2cd5582dd9af"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-07 15:19:26.975989"]]
1522
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1523
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1524
+ 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", "aba76cf7-62f5-4e18-b5c2-b39acbb1f484"], ["LIMIT", 1]]
1525
+ NulogyMessageBusProducer::SubscriptionEvent Load (1.9ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "f922e406-0722-4951-89e2-ff1d8db9301c"], ["LIMIT", 1]]
1526
+ TRANSACTION (1.1ms) ROLLBACK
432
1527
  TRANSACTION (1.3ms) BEGIN
433
-  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
434
- NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "15461945-ee8c-460d-a6d8-446531bb1dd1"], ["LIMIT", 1]]
435
- TRANSACTION (1.7ms) SAVEPOINT active_record_1
436
- 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", "15461945-ee8c-460d-a6d8-446531bb1dd1"], ["subscription_group_id", "e525a51d-3de0-4172-9d65-78ffae35b915"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"15461945-ee8c-460d-a6d8-446531bb1dd1\",\n subscriptionGroupId: \"e525a51d-3de0-4172-9d65-78ffae35b915\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.512131"], ["updated_at", "2022-04-13 18:41:27.512131"]]
437
- TRANSACTION (2.3ms) RELEASE SAVEPOINT active_record_1
438
-  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
439
- NulogyMessageBusProducer::SelfServeSubscription Load (3.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "15461945-ee8c-460d-a6d8-446531bb1dd1"], ["LIMIT", 1]]
440
- 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"]]
441
- TRANSACTION (1.6ms) ROLLBACK
442
- TRANSACTION (2.8ms) BEGIN
443
- 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"]]
444
- NulogyMessageBusProducer::SubscriptionEvent Load (2.9ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "ff6484bc-4170-4788-bced-a507769e975e"], ["LIMIT", 1]]
445
- TRANSACTION (1.9ms) SAVEPOINT active_record_1
446
- 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", "ff6484bc-4170-4788-bced-a507769e975e"], ["subscription_id", "38e8c1f8-e76c-4bba-8d23-14adf150df8d"], ["partition_key", "6ca7f361-b936-45dd-aae9-018520cabe4a,23f809c7-7730-42ff-9d16-20ff513d0e88"], ["topic_name", "some_topic"], ["company_uuid", "23f809c7-7730-42ff-9d16-20ff513d0e88"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:27.565170"]]
447
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
448
- NulogyMessageBusProducer::SubscriptionEvent Load (3.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "38e8c1f8-e76c-4bba-8d23-14adf150df8d"], ["LIMIT", 1]]
449
- TRANSACTION (2.5ms) ROLLBACK
450
- TRANSACTION (2.7ms) BEGIN
451
-  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
452
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2b085381-53dd-46c1-b5eb-4f7de59fa01c"], ["LIMIT", 1]]
453
- TRANSACTION (1.2ms) SAVEPOINT active_record_1
454
- 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", "2b085381-53dd-46c1-b5eb-4f7de59fa01c"], ["subscription_group_id", "02241e2a-bd7c-450b-abba-e5b0c1faaf89"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2b085381-53dd-46c1-b5eb-4f7de59fa01c\",\n subscriptionGroupId: \"02241e2a-bd7c-450b-abba-e5b0c1faaf89\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.597144"], ["updated_at", "2022-04-13 18:41:27.597144"]]
455
- TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
456
-  (2.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
457
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2b085381-53dd-46c1-b5eb-4f7de59fa01c"], ["LIMIT", 1]]
458
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
459
- 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"]]
460
- 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", "55f9013c-dc61-4022-b3b9-78ad39fb5f84"], ["LIMIT", 1]]
1528
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1529
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d9a0fbdd-7a1a-4177-9eae-d2a5fa6063bb"], ["LIMIT", 1]]
461
1530
  TRANSACTION (1.3ms) SAVEPOINT active_record_1
462
- 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", "55f9013c-dc61-4022-b3b9-78ad39fb5f84"], ["subscription_id", "7e3b9b11-4f80-47c8-a6e4-3b9ac8a7bc71"], ["partition_key", "46879cb1-6746-44e1-b9b2-6f77bfc7c90f,93ca2ef9-8e5e-4110-ba92-4362936c440b"], ["topic_name", "configured_topic"], ["company_uuid", "93ca2ef9-8e5e-4110-ba92-4362936c440b"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:27.621329"]]
463
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
464
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2b085381-53dd-46c1-b5eb-4f7de59fa01c"], ["LIMIT", 1]]
465
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2b085381-53dd-46c1-b5eb-4f7de59fa01c"], ["LIMIT", 1]]
466
- 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", "6d4ab240-52a9-4653-ba11-d209d002c652"], ["LIMIT", 1]]
1531
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "d9a0fbdd-7a1a-4177-9eae-d2a5fa6063bb"], ["subscription_group_id", "7dc94997-1a4a-49f6-a08b-eec29c1856b1"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d9a0fbdd-7a1a-4177-9eae-d2a5fa6063bb\",\n subscriptionGroupId: \"7dc94997-1a4a-49f6-a08b-eec29c1856b1\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:26.996838"], ["updated_at", "2022-04-07 15:19:26.996838"]]
1532
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
1533
+  (2.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1534
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d9a0fbdd-7a1a-4177-9eae-d2a5fa6063bb"], ["LIMIT", 1]]
1535
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1536
+ 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"]]
1537
+ 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", "4b5e0b84-dcfa-4427-8651-4c8071b219ab"], ["LIMIT", 1]]
467
1538
  TRANSACTION (1.2ms) SAVEPOINT active_record_1
468
- 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", "6d4ab240-52a9-4653-ba11-d209d002c652"], ["subscription_id", "2b085381-53dd-46c1-b5eb-4f7de59fa01c"], ["partition_key", "02241e2a-bd7c-450b-abba-e5b0c1faaf89,93ca2ef9-8e5e-4110-ba92-4362936c440b"], ["topic_name", "self_serve_topic"], ["company_uuid", "93ca2ef9-8e5e-4110-ba92-4362936c440b"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:27.634154"]]
1539
+ 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", "4b5e0b84-dcfa-4427-8651-4c8071b219ab"], ["subscription_id", "d9a0fbdd-7a1a-4177-9eae-d2a5fa6063bb"], ["partition_key", "7f9df103-3504-4dfa-94b4-3ab7c66446e0,2aafbf9f-0e34-4266-b809-fd31b07ff321"], ["topic_name", "configured_topic"], ["company_uuid", "2aafbf9f-0e34-4266-b809-fd31b07ff321"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-07 15:19:27.015259"]]
1540
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1541
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1542
+ 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", "d9a0fbdd-7a1a-4177-9eae-d2a5fa6063bb"], ["LIMIT", 1]]
1543
+ TRANSACTION (1.3ms) ROLLBACK
1544
+ TRANSACTION (1.5ms) BEGIN
1545
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e36e39c6-3a02-45dc-a5dc-efe2fbc42130"], ["LIMIT", 1]]
1546
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1547
+ 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", "e36e39c6-3a02-45dc-a5dc-efe2fbc42130"], ["subscription_group_id", "e9fdf99c-f7de-4444-af04-be820c346b7c"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"e36e39c6-3a02-45dc-a5dc-efe2fbc42130\",\n subscriptionGroupId: \"e9fdf99c-f7de-4444-af04-be820c346b7c\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:27.040327"], ["updated_at", "2022-04-07 15:19:27.040327"]]
469
1548
  TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
470
-  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
471
- 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", "2b085381-53dd-46c1-b5eb-4f7de59fa01c"], ["LIMIT", 1]]
472
- 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", "7e3b9b11-4f80-47c8-a6e4-3b9ac8a7bc71"], ["LIMIT", 1]]
473
- TRANSACTION (1.2ms) ROLLBACK
1549
+ TRANSACTION (1.1ms) ROLLBACK
474
1550
  TRANSACTION (1.1ms) BEGIN
1551
+  (19.1ms) TRUNCATE message_bus_subscription_events
1552
+  (8.9ms) TRUNCATE message_bus_subscriptions
1553
+  (14.5ms) TRUNCATE schema_migrations
1554
+  (6.5ms) TRUNCATE ar_internal_metadata
1555
+  (11.2ms) TRUNCATE message_bus_subscription_events
1556
+  (8.5ms) TRUNCATE message_bus_subscriptions
1557
+ TRANSACTION (11.9ms) ROLLBACK
1558
+ TRANSACTION (1.9ms) BEGIN
1559
+ 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"]]
1560
+ TRANSACTION (1.7ms) ROLLBACK
1561
+ TRANSACTION (1.7ms) BEGIN
1562
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1563
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3cc814a9-7fbb-4fd5-a18d-8c888c2b5753"], ["LIMIT", 1]]
1564
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
1565
+ NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "3cc814a9-7fbb-4fd5-a18d-8c888c2b5753"], ["subscription_group_id", "ef37e864-122a-4fcc-ab39-b6267417efa8"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"3cc814a9-7fbb-4fd5-a18d-8c888c2b5753\",\n subscriptionGroupId: \"ef37e864-122a-4fcc-ab39-b6267417efa8\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:28.429537"], ["updated_at", "2022-04-07 15:19:28.429537"]]
1566
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
1567
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1568
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3cc814a9-7fbb-4fd5-a18d-8c888c2b5753"], ["LIMIT", 1]]
1569
+  (1.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1570
+ NulogyMessageBusProducer::SelfServeSubscription Load (0.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9ad01e6b-81de-4af3-a2ad-e3a1de7083bb"], ["LIMIT", 1]]
1571
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1572
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.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", "9ad01e6b-81de-4af3-a2ad-e3a1de7083bb"], ["subscription_group_id", "8e5f6cf4-c396-49c7-9580-e8cec6c504fa"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9ad01e6b-81de-4af3-a2ad-e3a1de7083bb\",\n subscriptionGroupId: \"8e5f6cf4-c396-49c7-9580-e8cec6c504fa\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:28.444905"], ["updated_at", "2022-04-07 15:19:28.444905"]]
1573
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
475
1574
   (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
476
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4b1b6a70-bcf5-4cbb-b93a-77bf13f61e92"], ["LIMIT", 1]]
477
- TRANSACTION (1.3ms) SAVEPOINT active_record_1
478
- 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", "4b1b6a70-bcf5-4cbb-b93a-77bf13f61e92"], ["subscription_group_id", "87ec50cd-d17e-49d6-b547-af8cf2db798a"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"4b1b6a70-bcf5-4cbb-b93a-77bf13f61e92\",\n subscriptionGroupId: \"87ec50cd-d17e-49d6-b547-af8cf2db798a\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.658282"], ["updated_at", "2022-04-13 18:41:27.658282"]]
479
- TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
480
-  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
481
- NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "4b1b6a70-bcf5-4cbb-b93a-77bf13f61e92"], ["LIMIT", 1]]
482
-  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
483
- 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"]]
484
- 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", "274a192b-e7e8-407f-a4f2-16b754b359b1"], ["LIMIT", 1]]
485
- TRANSACTION (1.2ms) SAVEPOINT active_record_1
486
- 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", "274a192b-e7e8-407f-a4f2-16b754b359b1"], ["subscription_id", "4b1b6a70-bcf5-4cbb-b93a-77bf13f61e92"], ["partition_key", "34dd092e-0f6d-4879-b437-1a388f644195,1d243f6c-9b8e-48f6-995a-db20efc00be2"], ["topic_name", "configured_topic"], ["company_uuid", "1d243f6c-9b8e-48f6-995a-db20efc00be2"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:27.680794"]]
1575
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9ad01e6b-81de-4af3-a2ad-e3a1de7083bb"], ["LIMIT", 1]]
1576
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1577
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a387f673-78ce-476f-b759-3920b0f4e346"], ["LIMIT", 1]]
1578
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
1579
+ 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", "a387f673-78ce-476f-b759-3920b0f4e346"], ["subscription_group_id", "81b46c0b-11c7-4e2b-8115-3676457d3cc7"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"a387f673-78ce-476f-b759-3920b0f4e346\",\n subscriptionGroupId: \"81b46c0b-11c7-4e2b-8115-3676457d3cc7\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:28.458368"], ["updated_at", "2022-04-07 15:19:28.458368"]]
487
1580
  TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
488
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
489
- NulogyMessageBusProducer::SubscriptionEvent Load (1.8ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "4b1b6a70-bcf5-4cbb-b93a-77bf13f61e92"], ["LIMIT", 1]]
1581
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1582
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a387f673-78ce-476f-b759-3920b0f4e346"], ["LIMIT", 1]]
1583
+ 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"]]
1584
+ TRANSACTION (1.3ms) ROLLBACK
1585
+ TRANSACTION (1.7ms) BEGIN
1586
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1587
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ea4ef336-67d7-4c0e-9db4-5c8960313707"], ["LIMIT", 1]]
1588
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1589
+ 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", "ea4ef336-67d7-4c0e-9db4-5c8960313707"], ["subscription_group_id", "783ebc73-e2bc-4f07-a249-02fcbca23bf7"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ea4ef336-67d7-4c0e-9db4-5c8960313707\",\n subscriptionGroupId: \"783ebc73-e2bc-4f07-a249-02fcbca23bf7\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:28.480298"], ["updated_at", "2022-04-07 15:19:28.480298"]]
1590
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1591
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1592
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ea4ef336-67d7-4c0e-9db4-5c8960313707"], ["LIMIT", 1]]
1593
+ 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"]]
1594
+ TRANSACTION (1.7ms) ROLLBACK
1595
+ TRANSACTION (1.1ms) BEGIN
1596
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1597
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9f1253aa-f33e-449d-ae2f-9e3b6bf060a7"], ["LIMIT", 1]]
1598
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
1599
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "9f1253aa-f33e-449d-ae2f-9e3b6bf060a7"], ["subscription_group_id", "74148655-5634-4229-b043-1f191c53c833"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9f1253aa-f33e-449d-ae2f-9e3b6bf060a7\",\n subscriptionGroupId: \"74148655-5634-4229-b043-1f191c53c833\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-07 15:19:28.503321"], ["updated_at", "2022-04-07 15:19:28.503321"]]
1600
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1601
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1602
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9f1253aa-f33e-449d-ae2f-9e3b6bf060a7"], ["LIMIT", 1]]
1603
+ 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"]]
1604
+ TRANSACTION (1.3ms) ROLLBACK
1605
+ TRANSACTION (1.5ms) BEGIN
1606
+  (3.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1607
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "614e071c-a76b-40bc-9cb0-5b23bf865df3"], ["LIMIT", 1]]
1608
+ TRANSACTION (1.5ms) SAVEPOINT active_record_1
1609
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "614e071c-a76b-40bc-9cb0-5b23bf865df3"], ["subscription_group_id", "f398c5d1-fde4-4b7c-b356-4d4387a7bf77"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"614e071c-a76b-40bc-9cb0-5b23bf865df3\",\n subscriptionGroupId: \"f398c5d1-fde4-4b7c-b356-4d4387a7bf77\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.610707"], ["updated_at", "2022-08-16 14:46:40.610707"]]
1610
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1611
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1612
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "614e071c-a76b-40bc-9cb0-5b23bf865df3"], ["LIMIT", 1]]
1613
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1614
+ 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", "2022-08-16 14:46:40.621700"], ["id", "614e071c-a76b-40bc-9cb0-5b23bf865df3"]]
1615
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1616
+ 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"]]
1617
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "614e071c-a76b-40bc-9cb0-5b23bf865df3"], ["LIMIT", 1]]
490
1618
  TRANSACTION (1.2ms) ROLLBACK
491
1619
  TRANSACTION (1.3ms) BEGIN
492
-  (3.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
493
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d21d1b61-0c44-407a-97b9-a375f241bf58"], ["LIMIT", 1]]
494
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
495
- 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", "d21d1b61-0c44-407a-97b9-a375f241bf58"], ["subscription_group_id", "194e87a2-3ab9-4ef5-8adf-a96a9ad4a90d"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d21d1b61-0c44-407a-97b9-a375f241bf58\",\n subscriptionGroupId: \"194e87a2-3ab9-4ef5-8adf-a96a9ad4a90d\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.705738"], ["updated_at", "2022-04-13 18:41:27.705738"]]
496
- TRANSACTION (2.9ms) RELEASE SAVEPOINT active_record_1
497
-  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
498
- NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d21d1b61-0c44-407a-97b9-a375f241bf58"], ["LIMIT", 1]]
499
- 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"]]
500
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d21d1b61-0c44-407a-97b9-a375f241bf58"], ["LIMIT", 1]]
501
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d21d1b61-0c44-407a-97b9-a375f241bf58"], ["LIMIT", 1]]
502
- 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", "713d7cc8-03c2-4a43-9f85-2c1dc38284d3"], ["LIMIT", 1]]
503
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
504
- 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", "713d7cc8-03c2-4a43-9f85-2c1dc38284d3"], ["subscription_id", "d21d1b61-0c44-407a-97b9-a375f241bf58"], ["partition_key", "194e87a2-3ab9-4ef5-8adf-a96a9ad4a90d,3f601732-a1f1-42a6-a937-7d1b596810ea"], ["topic_name", "some_topic"], ["company_uuid", "3f601732-a1f1-42a6-a937-7d1b596810ea"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2022-04-13 18:41:27.731001"]]
505
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
506
- 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", "d21d1b61-0c44-407a-97b9-a375f241bf58"], ["LIMIT", 1]]
507
- TRANSACTION (1.8ms) ROLLBACK
508
- TRANSACTION (1.4ms) BEGIN
509
-  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
510
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e98befae-2a47-44d6-a521-12c1a777b37a"], ["LIMIT", 1]]
511
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
512
- 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", "e98befae-2a47-44d6-a521-12c1a777b37a"], ["subscription_group_id", "9e12255e-d4ca-48aa-8d22-2971a60a7fbf"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"e98befae-2a47-44d6-a521-12c1a777b37a\",\n subscriptionGroupId: \"9e12255e-d4ca-48aa-8d22-2971a60a7fbf\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.754028"], ["updated_at", "2022-04-13 18:41:27.754028"]]
513
- TRANSACTION (2.2ms) RELEASE SAVEPOINT active_record_1
514
-  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
515
- NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e98befae-2a47-44d6-a521-12c1a777b37a"], ["LIMIT", 1]]
516
- 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"]]
517
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e98befae-2a47-44d6-a521-12c1a777b37a"], ["LIMIT", 1]]
518
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e98befae-2a47-44d6-a521-12c1a777b37a"], ["LIMIT", 1]]
519
- 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", "4aee0d60-3893-4bc3-bdf7-553c9cfe11b5"], ["LIMIT", 1]]
520
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
521
- 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", "4aee0d60-3893-4bc3-bdf7-553c9cfe11b5"], ["subscription_id", "e98befae-2a47-44d6-a521-12c1a777b37a"], ["partition_key", "9e12255e-d4ca-48aa-8d22-2971a60a7fbf,4aaa082e-53f0-47be-804f-672bfcfe4aa7"], ["topic_name", "some_topic"], ["company_uuid", "4aaa082e-53f0-47be-804f-672bfcfe4aa7"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:27.778441"]]
1620
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1621
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "69f1a941-1abd-4bc0-ba3e-078833a009d9"], ["LIMIT", 1]]
1622
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
1623
+ 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", "69f1a941-1abd-4bc0-ba3e-078833a009d9"], ["subscription_group_id", "a3580e25-9df8-43a4-ae66-e895b160b754"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"69f1a941-1abd-4bc0-ba3e-078833a009d9\",\n subscriptionGroupId: \"a3580e25-9df8-43a4-ae66-e895b160b754\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.643444"], ["updated_at", "2022-08-16 14:46:40.643444"]]
522
1624
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
523
- 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", "e98befae-2a47-44d6-a521-12c1a777b37a"], ["LIMIT", 1]]
524
- TRANSACTION (1.3ms) ROLLBACK
525
- TRANSACTION (1.7ms) BEGIN
526
-  (2.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
527
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6763f277-77b3-4dbd-892e-233762c31e4b"], ["LIMIT", 1]]
528
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
529
- 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", "6763f277-77b3-4dbd-892e-233762c31e4b"], ["subscription_group_id", "03277935-9bdf-44ac-8f26-8da75efe483e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"6763f277-77b3-4dbd-892e-233762c31e4b\",\n subscriptionGroupId: \"03277935-9bdf-44ac-8f26-8da75efe483e\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.800189"], ["updated_at", "2022-04-13 18:41:27.800189"]]
1625
+  (4.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1626
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "69f1a941-1abd-4bc0-ba3e-078833a009d9"], ["LIMIT", 1]]
1627
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1628
+ NulogyMessageBusProducer::SelfServeSubscription Update (2.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", "2022-08-16 14:46:40.656074"], ["id", "69f1a941-1abd-4bc0-ba3e-078833a009d9"]]
530
1629
  TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
1630
+ 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"]]
1631
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "69f1a941-1abd-4bc0-ba3e-078833a009d9"], ["LIMIT", 1]]
1632
+ TRANSACTION (1.3ms) ROLLBACK
1633
+ TRANSACTION (1.0ms) BEGIN
531
1634
   (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
532
- NulogyMessageBusProducer::SelfServeSubscription Load (3.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6763f277-77b3-4dbd-892e-233762c31e4b"], ["LIMIT", 1]]
533
-  (2.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
534
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b096b4fe-3508-467e-9f7d-bce1e7d9074f"], ["LIMIT", 1]]
535
- TRANSACTION (2.1ms) SAVEPOINT active_record_1
536
- 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", "b096b4fe-3508-467e-9f7d-bce1e7d9074f"], ["subscription_group_id", "a55d7562-a966-470c-a337-d47090ac351e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b096b4fe-3508-467e-9f7d-bce1e7d9074f\",\n subscriptionGroupId: \"a55d7562-a966-470c-a337-d47090ac351e\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.820424"], ["updated_at", "2022-04-13 18:41:27.820424"]]
537
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
538
-  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
539
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b096b4fe-3508-467e-9f7d-bce1e7d9074f"], ["LIMIT", 1]]
540
-  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
541
- 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"]]
542
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6763f277-77b3-4dbd-892e-233762c31e4b"], ["LIMIT", 1]]
543
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6763f277-77b3-4dbd-892e-233762c31e4b"], ["LIMIT", 1]]
544
- 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", "0cff75ea-144a-40c2-a25d-fa66fe8f4fa8"], ["LIMIT", 1]]
545
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
546
- 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", "0cff75ea-144a-40c2-a25d-fa66fe8f4fa8"], ["subscription_id", "6763f277-77b3-4dbd-892e-233762c31e4b"], ["partition_key", "03277935-9bdf-44ac-8f26-8da75efe483e,245370fc-3b9d-4aad-b49f-e84a1c6cc088"], ["topic_name", "some_topic"], ["company_uuid", "245370fc-3b9d-4aad-b49f-e84a1c6cc088"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:27.843933"]]
547
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
548
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b096b4fe-3508-467e-9f7d-bce1e7d9074f"], ["LIMIT", 1]]
549
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b096b4fe-3508-467e-9f7d-bce1e7d9074f"], ["LIMIT", 1]]
550
- 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", "88859b6c-6eb2-4864-bbb7-7deeb54d888c"], ["LIMIT", 1]]
551
- TRANSACTION (1.2ms) SAVEPOINT active_record_1
552
- 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", "88859b6c-6eb2-4864-bbb7-7deeb54d888c"], ["subscription_id", "b096b4fe-3508-467e-9f7d-bce1e7d9074f"], ["partition_key", "a55d7562-a966-470c-a337-d47090ac351e,245370fc-3b9d-4aad-b49f-e84a1c6cc088"], ["topic_name", "some_topic"], ["company_uuid", "245370fc-3b9d-4aad-b49f-e84a1c6cc088"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:41:27.856865"]]
1635
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2dac1adb-1501-4a7b-aae5-cee8fcfc5fe8"], ["LIMIT", 1]]
1636
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
1637
+ 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", "2dac1adb-1501-4a7b-aae5-cee8fcfc5fe8"], ["subscription_group_id", "d63919ea-1355-480d-84f6-1cbdbbe6c25f"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2dac1adb-1501-4a7b-aae5-cee8fcfc5fe8\",\n subscriptionGroupId: \"d63919ea-1355-480d-84f6-1cbdbbe6c25f\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.677010"], ["updated_at", "2022-08-16 14:46:40.677010"]]
553
1638
  TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
554
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
555
-  (1.7ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
556
- TRANSACTION (1.2ms) ROLLBACK
557
- TRANSACTION (2.8ms) BEGIN
558
-  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
559
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6c08ad49-b19a-4cfc-941e-22faf2888df9"], ["LIMIT", 1]]
560
- TRANSACTION (3.3ms) SAVEPOINT active_record_1
561
- NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "6c08ad49-b19a-4cfc-941e-22faf2888df9"], ["subscription_group_id", "41d74146-fba8-4bc3-be52-9a2707d2c622"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"6c08ad49-b19a-4cfc-941e-22faf2888df9\",\n subscriptionGroupId: \"41d74146-fba8-4bc3-be52-9a2707d2c622\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.890443"], ["updated_at", "2022-04-13 18:41:27.890443"]]
1639
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1640
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2dac1adb-1501-4a7b-aae5-cee8fcfc5fe8"], ["LIMIT", 1]]
1641
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1642
+ 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", "2022-08-16 14:46:40.685531"], ["id", "2dac1adb-1501-4a7b-aae5-cee8fcfc5fe8"]]
562
1643
  TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
563
-  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
564
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6c08ad49-b19a-4cfc-941e-22faf2888df9"], ["LIMIT", 1]]
565
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
566
- 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", "2022-04-13 18:41:27.906198"], ["id", "6c08ad49-b19a-4cfc-941e-22faf2888df9"]]
567
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
568
- 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"]]
569
- NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "6c08ad49-b19a-4cfc-941e-22faf2888df9"], ["LIMIT", 1]]
570
- TRANSACTION (2.0ms) ROLLBACK
571
- TRANSACTION (1.4ms) BEGIN
572
-  (3.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
573
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bb4ad665-5e46-43b2-b97c-ba96eeb722b6"], ["LIMIT", 1]]
574
- TRANSACTION (1.6ms) SAVEPOINT active_record_1
575
- 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", "bb4ad665-5e46-43b2-b97c-ba96eeb722b6"], ["subscription_group_id", "38b59afe-3d57-487d-b9b1-c35db173fa78"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"bb4ad665-5e46-43b2-b97c-ba96eeb722b6\",\n subscriptionGroupId: \"38b59afe-3d57-487d-b9b1-c35db173fa78\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.938514"], ["updated_at", "2022-04-13 18:41:27.938514"]]
576
- TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
577
-  (3.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
578
- NulogyMessageBusProducer::SelfServeSubscription Load (2.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bb4ad665-5e46-43b2-b97c-ba96eeb722b6"], ["LIMIT", 1]]
579
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
580
- 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", "2022-04-13 18:41:27.952670"], ["id", "bb4ad665-5e46-43b2-b97c-ba96eeb722b6"]]
581
- TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
582
1644
  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"]]
583
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bb4ad665-5e46-43b2-b97c-ba96eeb722b6"], ["LIMIT", 1]]
584
- TRANSACTION (1.7ms) ROLLBACK
585
- TRANSACTION (1.5ms) BEGIN
586
-  (3.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
587
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9fc8205b-c46a-4739-b7a6-c701bb0cefe4"], ["LIMIT", 1]]
588
- TRANSACTION (2.3ms) SAVEPOINT active_record_1
589
- NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "9fc8205b-c46a-4739-b7a6-c701bb0cefe4"], ["subscription_group_id", "adb1e39e-faba-48f8-818f-4d7169445616"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"9fc8205b-c46a-4739-b7a6-c701bb0cefe4\",\n subscriptionGroupId: \"adb1e39e-faba-48f8-818f-4d7169445616\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:27.979624"], ["updated_at", "2022-04-13 18:41:27.979624"]]
590
- TRANSACTION (2.4ms) RELEASE SAVEPOINT active_record_1
591
-  (2.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
592
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9fc8205b-c46a-4739-b7a6-c701bb0cefe4"], ["LIMIT", 1]]
1645
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2dac1adb-1501-4a7b-aae5-cee8fcfc5fe8"], ["LIMIT", 1]]
1646
+ TRANSACTION (1.2ms) ROLLBACK
1647
+ TRANSACTION (1.1ms) BEGIN
1648
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1649
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a38456a8-6937-4c91-9804-9433b2da55ee"], ["LIMIT", 1]]
1650
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
1651
+ 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", "a38456a8-6937-4c91-9804-9433b2da55ee"], ["subscription_group_id", "2027d9f2-5c25-4792-8fbf-efc90cda9826"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"a38456a8-6937-4c91-9804-9433b2da55ee\",\n subscriptionGroupId: \"2027d9f2-5c25-4792-8fbf-efc90cda9826\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.706731"], ["updated_at", "2022-08-16 14:46:40.706731"]]
1652
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1653
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1654
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a38456a8-6937-4c91-9804-9433b2da55ee"], ["LIMIT", 1]]
1655
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1656
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2ebd37b7-ce7d-48a5-a34d-a45992c1de1c"], ["LIMIT", 1]]
1657
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1658
+ 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", "2ebd37b7-ce7d-48a5-a34d-a45992c1de1c"], ["subscription_group_id", "224049c5-e6f5-4aef-bc4a-c3f5df4bccc6"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2ebd37b7-ce7d-48a5-a34d-a45992c1de1c\",\n subscriptionGroupId: \"224049c5-e6f5-4aef-bc4a-c3f5df4bccc6\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.721139"], ["updated_at", "2022-08-16 14:46:40.721139"]]
1659
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1660
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1661
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2ebd37b7-ce7d-48a5-a34d-a45992c1de1c"], ["LIMIT", 1]]
1662
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1663
+ 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"]]
1664
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a38456a8-6937-4c91-9804-9433b2da55ee"], ["LIMIT", 1]]
1665
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "a38456a8-6937-4c91-9804-9433b2da55ee"], ["LIMIT", 1]]
1666
+ 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", "c11c01ae-a3a2-487e-bdb7-51f0bb7ea52b"], ["LIMIT", 1]]
593
1667
  TRANSACTION (1.6ms) SAVEPOINT active_record_1
594
- NulogyMessageBusProducer::SelfServeSubscription Update (1.6ms) 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", "2022-04-13 18:41:27.994713"], ["id", "9fc8205b-c46a-4739-b7a6-c701bb0cefe4"]]
1668
+ 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", "c11c01ae-a3a2-487e-bdb7-51f0bb7ea52b"], ["subscription_id", "a38456a8-6937-4c91-9804-9433b2da55ee"], ["partition_key", "2027d9f2-5c25-4792-8fbf-efc90cda9826,15bcef20-03fe-47b0-a315-510584c175f2"], ["topic_name", "some_topic"], ["company_uuid", "15bcef20-03fe-47b0-a315-510584c175f2"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 14:46:40.748895"]]
1669
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1670
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2ebd37b7-ce7d-48a5-a34d-a45992c1de1c"], ["LIMIT", 1]]
1671
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2ebd37b7-ce7d-48a5-a34d-a45992c1de1c"], ["LIMIT", 1]]
1672
+ 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", "b6d0dae0-fe0d-46f6-9650-634be98d583c"], ["LIMIT", 1]]
1673
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1674
+ 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", "b6d0dae0-fe0d-46f6-9650-634be98d583c"], ["subscription_id", "2ebd37b7-ce7d-48a5-a34d-a45992c1de1c"], ["partition_key", "224049c5-e6f5-4aef-bc4a-c3f5df4bccc6,15bcef20-03fe-47b0-a315-510584c175f2"], ["topic_name", "some_topic"], ["company_uuid", "15bcef20-03fe-47b0-a315-510584c175f2"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 14:46:40.762347"]]
1675
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1676
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1677
+  (1.2ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
1678
+ TRANSACTION (1.3ms) ROLLBACK
1679
+ TRANSACTION (1.0ms) BEGIN
1680
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1681
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e9aac3f0-76d3-4a21-af4f-26af1eba38ce"], ["LIMIT", 1]]
1682
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1683
+ 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", "e9aac3f0-76d3-4a21-af4f-26af1eba38ce"], ["subscription_group_id", "4c18d02e-13d5-4a82-9506-3b921f9b200a"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"e9aac3f0-76d3-4a21-af4f-26af1eba38ce\",\n subscriptionGroupId: \"4c18d02e-13d5-4a82-9506-3b921f9b200a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.781337"], ["updated_at", "2022-08-16 14:46:40.781337"]]
1684
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1685
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1686
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e9aac3f0-76d3-4a21-af4f-26af1eba38ce"], ["LIMIT", 1]]
1687
+ 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"]]
1688
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e9aac3f0-76d3-4a21-af4f-26af1eba38ce"], ["LIMIT", 1]]
1689
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e9aac3f0-76d3-4a21-af4f-26af1eba38ce"], ["LIMIT", 1]]
1690
+ 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", "f86cea54-f2c3-44e8-ae5b-01ab4997a649"], ["LIMIT", 1]]
1691
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1692
+ 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", "f86cea54-f2c3-44e8-ae5b-01ab4997a649"], ["subscription_id", "e9aac3f0-76d3-4a21-af4f-26af1eba38ce"], ["partition_key", "4c18d02e-13d5-4a82-9506-3b921f9b200a,ddff2822-190e-4ac1-8f78-392766e53cad"], ["topic_name", "some_topic"], ["company_uuid", "ddff2822-190e-4ac1-8f78-392766e53cad"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 14:46:40.798822"]]
595
1693
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
596
- 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"]]
597
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "9fc8205b-c46a-4739-b7a6-c701bb0cefe4"], ["LIMIT", 1]]
1694
+ 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", "e9aac3f0-76d3-4a21-af4f-26af1eba38ce"], ["LIMIT", 1]]
1695
+ TRANSACTION (1.2ms) ROLLBACK
1696
+ TRANSACTION (1.1ms) BEGIN
1697
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1698
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e7c9debd-f390-492f-a909-89450c581a4e"], ["LIMIT", 1]]
1699
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1700
+ 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", "e7c9debd-f390-492f-a909-89450c581a4e"], ["subscription_group_id", "48ac1563-805c-4d25-846e-617b4c24fd55"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"e7c9debd-f390-492f-a909-89450c581a4e\",\n subscriptionGroupId: \"48ac1563-805c-4d25-846e-617b4c24fd55\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.817083"], ["updated_at", "2022-08-16 14:46:40.817083"]]
1701
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
1702
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1703
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e7c9debd-f390-492f-a909-89450c581a4e"], ["LIMIT", 1]]
1704
+ 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"]]
1705
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e7c9debd-f390-492f-a909-89450c581a4e"], ["LIMIT", 1]]
1706
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "e7c9debd-f390-492f-a909-89450c581a4e"], ["LIMIT", 1]]
1707
+ 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", "a3ff5f95-81cb-4d87-ae16-c546b3cae603"], ["LIMIT", 1]]
1708
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1709
+ 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", "a3ff5f95-81cb-4d87-ae16-c546b3cae603"], ["subscription_id", "e7c9debd-f390-492f-a909-89450c581a4e"], ["partition_key", "48ac1563-805c-4d25-846e-617b4c24fd55,bcd0f317-6b8a-413a-a3d4-17c7f25dc120"], ["topic_name", "some_topic"], ["company_uuid", "bcd0f317-6b8a-413a-a3d4-17c7f25dc120"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2022-08-16 14:46:40.835084"]]
1710
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1711
+ 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", "e7c9debd-f390-492f-a909-89450c581a4e"], ["LIMIT", 1]]
598
1712
  TRANSACTION (1.4ms) ROLLBACK
599
- TRANSACTION (1.8ms) BEGIN
600
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b13035ed-898d-4347-ab7d-a695a024f0cb"], ["LIMIT", 1]]
1713
+ TRANSACTION (1.2ms) BEGIN
1714
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1715
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "72dfd423-0bc5-4d2c-b565-39ea1728ca59"], ["LIMIT", 1]]
601
1716
  TRANSACTION (1.3ms) SAVEPOINT active_record_1
602
- 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", "b13035ed-898d-4347-ab7d-a695a024f0cb"], ["subscription_group_id", "9f0b0bc8-0249-4530-bd50-e65898ea1e9d"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"b13035ed-898d-4347-ab7d-a695a024f0cb\",\n subscriptionGroupId: \"9f0b0bc8-0249-4530-bd50-e65898ea1e9d\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:41:28.021001"], ["updated_at", "2022-04-13 18:41:28.021001"]]
603
- TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
604
- TRANSACTION (2.7ms) ROLLBACK
605
- TRANSACTION (3.7ms) BEGIN
606
-  (8.9ms) TRUNCATE schema_migrations
607
-  (10.4ms) TRUNCATE ar_internal_metadata
608
-  (11.9ms) TRUNCATE message_bus_subscription_events
609
-  (12.1ms) TRUNCATE message_bus_subscriptions
610
-  (9.8ms) TRUNCATE things
611
-  (7.9ms) TRUNCATE message_bus_subscription_events
612
-  (13.0ms) TRUNCATE message_bus_subscriptions
613
- TRANSACTION (2.8ms) ROLLBACK
614
- TRANSACTION (2.7ms) BEGIN
615
-  (4.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
616
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5c91f421-93a8-4b46-aac4-a8cbb4df2da1"], ["LIMIT", 1]]
617
- TRANSACTION (2.0ms) SAVEPOINT active_record_1
618
- 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", "5c91f421-93a8-4b46-aac4-a8cbb4df2da1"], ["subscription_group_id", "c2e3ee33-2edb-474e-9eec-d8926f98f028"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"5c91f421-93a8-4b46-aac4-a8cbb4df2da1\",\n subscriptionGroupId: \"c2e3ee33-2edb-474e-9eec-d8926f98f028\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:44:57.839885"], ["updated_at", "2022-04-13 18:44:57.839885"]]
619
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
620
-  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
621
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5c91f421-93a8-4b46-aac4-a8cbb4df2da1"], ["LIMIT", 1]]
622
- TRANSACTION (1.4ms) SAVEPOINT active_record_1
623
- NulogyMessageBusProducer::SelfServeSubscription Update (1.6ms) 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", "2022-04-13 18:44:57.853289"], ["id", "5c91f421-93a8-4b46-aac4-a8cbb4df2da1"]]
1717
+ 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", "72dfd423-0bc5-4d2c-b565-39ea1728ca59"], ["subscription_group_id", "b1ce87dc-e2bb-438a-98dd-4ece60d06d36"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"72dfd423-0bc5-4d2c-b565-39ea1728ca59\",\n subscriptionGroupId: \"b1ce87dc-e2bb-438a-98dd-4ece60d06d36\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.851932"], ["updated_at", "2022-08-16 14:46:40.851932"]]
624
1718
  TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
625
- 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"]]
626
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5c91f421-93a8-4b46-aac4-a8cbb4df2da1"], ["LIMIT", 1]]
627
- TRANSACTION (2.6ms) ROLLBACK
1719
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1720
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "72dfd423-0bc5-4d2c-b565-39ea1728ca59"], ["LIMIT", 1]]
1721
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1722
+ 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"]]
1723
+ 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", "39997741-4113-4af2-bd54-2c70009391da"], ["LIMIT", 1]]
1724
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1725
+ NulogyMessageBusProducer::SubscriptionEvent Create (1.9ms) 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", "39997741-4113-4af2-bd54-2c70009391da"], ["subscription_id", "cbf73430-193f-4f0f-a4c4-299fda7122a8"], ["partition_key", "bfdb2024-67cb-4b2a-b78c-fee0cca201c8,47f93f76-4169-483b-9316-2c3ca408437e"], ["topic_name", "configured_topic"], ["company_uuid", "47f93f76-4169-483b-9316-2c3ca408437e"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 14:46:40.869732"]]
1726
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1727
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "72dfd423-0bc5-4d2c-b565-39ea1728ca59"], ["LIMIT", 1]]
1728
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "72dfd423-0bc5-4d2c-b565-39ea1728ca59"], ["LIMIT", 1]]
1729
+ 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", "a9221d09-5cd1-4844-9ce1-f3a5f34c7de8"], ["LIMIT", 1]]
1730
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1731
+ 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", "a9221d09-5cd1-4844-9ce1-f3a5f34c7de8"], ["subscription_id", "72dfd423-0bc5-4d2c-b565-39ea1728ca59"], ["partition_key", "b1ce87dc-e2bb-438a-98dd-4ece60d06d36,47f93f76-4169-483b-9316-2c3ca408437e"], ["topic_name", "self_serve_topic"], ["company_uuid", "47f93f76-4169-483b-9316-2c3ca408437e"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 14:46:40.881568"]]
1732
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
1733
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1734
+ 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", "72dfd423-0bc5-4d2c-b565-39ea1728ca59"], ["LIMIT", 1]]
1735
+ 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", "cbf73430-193f-4f0f-a4c4-299fda7122a8"], ["LIMIT", 1]]
1736
+ TRANSACTION (1.2ms) ROLLBACK
628
1737
  TRANSACTION (1.6ms) BEGIN
629
-  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
630
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c26af2be-6b9a-43c6-ad77-88cc2b5e9185"], ["LIMIT", 1]]
631
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
632
- 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", "c26af2be-6b9a-43c6-ad77-88cc2b5e9185"], ["subscription_group_id", "bcb1f8a5-2f00-48f0-93f9-0b36833aff32"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c26af2be-6b9a-43c6-ad77-88cc2b5e9185\",\n subscriptionGroupId: \"bcb1f8a5-2f00-48f0-93f9-0b36833aff32\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:45:48.302690"], ["updated_at", "2022-04-13 18:45:48.302690"]]
1738
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1739
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "764d2475-80a7-476c-ae36-7d1afbc9e9a0"], ["LIMIT", 1]]
1740
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
1741
+ 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", "764d2475-80a7-476c-ae36-7d1afbc9e9a0"], ["subscription_group_id", "ed7c156b-95d9-43a9-941d-c0f3d3e12194"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"764d2475-80a7-476c-ae36-7d1afbc9e9a0\",\n subscriptionGroupId: \"ed7c156b-95d9-43a9-941d-c0f3d3e12194\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.903101"], ["updated_at", "2022-08-16 14:46:40.903101"]]
633
1742
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
634
-  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
635
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c26af2be-6b9a-43c6-ad77-88cc2b5e9185"], ["LIMIT", 1]]
1743
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1744
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "764d2475-80a7-476c-ae36-7d1afbc9e9a0"], ["LIMIT", 1]]
1745
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1746
+ 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"]]
1747
+ 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", "e46c6abb-fd29-4784-92e2-d29627cea028"], ["LIMIT", 1]]
636
1748
  TRANSACTION (1.3ms) SAVEPOINT active_record_1
637
- NulogyMessageBusProducer::SelfServeSubscription Update (1.6ms) 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", "2022-04-13 18:45:48.312816"], ["id", "c26af2be-6b9a-43c6-ad77-88cc2b5e9185"]]
1749
+ 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", "e46c6abb-fd29-4784-92e2-d29627cea028"], ["subscription_id", "764d2475-80a7-476c-ae36-7d1afbc9e9a0"], ["partition_key", "5a32ef2f-0573-4fdf-96de-a742f982dbee,28f50830-4ffd-4088-95ba-25ba4ecb6937"], ["topic_name", "configured_topic"], ["company_uuid", "28f50830-4ffd-4088-95ba-25ba4ecb6937"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 14:46:40.921193"]]
1750
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1751
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1752
+ 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", "764d2475-80a7-476c-ae36-7d1afbc9e9a0"], ["LIMIT", 1]]
1753
+ TRANSACTION (1.1ms) ROLLBACK
1754
+ TRANSACTION (1.3ms) BEGIN
1755
+ 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"]]
1756
+ 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", "ba0de028-08aa-45cb-bd7a-b75545235036"], ["LIMIT", 1]]
1757
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
1758
+ 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", "ba0de028-08aa-45cb-bd7a-b75545235036"], ["subscription_id", "e7c0c01f-247f-462c-8068-7528beaea4b3"], ["partition_key", "90244a2d-f5e4-4e49-bda1-665d8a73b81d,2ce18776-b2c3-4b82-ac04-50cd58fe7e92"], ["topic_name", "some_topic"], ["company_uuid", "2ce18776-b2c3-4b82-ac04-50cd58fe7e92"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 14:46:40.939601"]]
638
1759
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
639
- NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
640
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c26af2be-6b9a-43c6-ad77-88cc2b5e9185"], ["LIMIT", 1]]
641
- TRANSACTION (2.9ms) ROLLBACK
642
- TRANSACTION (2.0ms) BEGIN
643
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
644
- NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "779d588c-2e55-4b07-89e0-deb48542fa9b"], ["LIMIT", 1]]
1760
+ 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", "e7c0c01f-247f-462c-8068-7528beaea4b3"], ["LIMIT", 1]]
1761
+ TRANSACTION (1.6ms) ROLLBACK
1762
+ TRANSACTION (1.6ms) BEGIN
1763
+ 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"]]
1764
+ TRANSACTION (1.2ms) ROLLBACK
1765
+ TRANSACTION (1.5ms) BEGIN
1766
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1767
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "37d8fa45-1816-43c9-85ea-7120793ef3d4"], ["LIMIT", 1]]
645
1768
  TRANSACTION (1.4ms) SAVEPOINT active_record_1
646
- 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", "779d588c-2e55-4b07-89e0-deb48542fa9b"], ["subscription_group_id", "6d8796f3-14fd-4ffe-9542-f5340bc1731f"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"779d588c-2e55-4b07-89e0-deb48542fa9b\",\n subscriptionGroupId: \"6d8796f3-14fd-4ffe-9542-f5340bc1731f\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:45:52.259017"], ["updated_at", "2022-04-13 18:45:52.259017"]]
647
- TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
648
-  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
649
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "779d588c-2e55-4b07-89e0-deb48542fa9b"], ["LIMIT", 1]]
1769
+ 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", "37d8fa45-1816-43c9-85ea-7120793ef3d4"], ["subscription_group_id", "b921b202-d6e0-40dd-a53b-d25bafe46850"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"37d8fa45-1816-43c9-85ea-7120793ef3d4\",\n subscriptionGroupId: \"b921b202-d6e0-40dd-a53b-d25bafe46850\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.968763"], ["updated_at", "2022-08-16 14:46:40.968763"]]
1770
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
1771
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1772
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "37d8fa45-1816-43c9-85ea-7120793ef3d4"], ["LIMIT", 1]]
1773
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1774
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "97adef97-384e-48b2-909a-080422fce7f1"], ["LIMIT", 1]]
650
1775
  TRANSACTION (2.1ms) SAVEPOINT active_record_1
651
- NulogyMessageBusProducer::SelfServeSubscription Update (3.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", "2022-04-13 18:45:52.271335"], ["id", "779d588c-2e55-4b07-89e0-deb48542fa9b"]]
652
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
653
- 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"]]
654
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "779d588c-2e55-4b07-89e0-deb48542fa9b"], ["LIMIT", 1]]
655
- TRANSACTION (1.8ms) ROLLBACK
656
- TRANSACTION (1.8ms) BEGIN
657
- 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"]]
658
- NulogyMessageBusProducer::SubscriptionEvent Load (2.3ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "d8c60560-5fce-43b2-ab26-939842b4cf35"], ["LIMIT", 1]]
659
- TRANSACTION (2.2ms) SAVEPOINT active_record_1
660
- 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", "d8c60560-5fce-43b2-ab26-939842b4cf35"], ["subscription_id", "b6d67b7e-cc43-49bf-b96b-69f0088b0c8b"], ["partition_key", "d0ad0d1e-b078-4334-b316-e581d46ae8ac,474eb0c5-c686-41a4-b089-8549ea9e470f"], ["topic_name", "some_topic"], ["company_uuid", "474eb0c5-c686-41a4-b089-8549ea9e470f"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:45:56.075164"]]
661
- TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
662
- 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", "b6d67b7e-cc43-49bf-b96b-69f0088b0c8b"], ["LIMIT", 1]]
663
- TRANSACTION (2.3ms) ROLLBACK
664
- TRANSACTION (3.2ms) BEGIN
665
-  (3.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
666
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "587a1cca-38a0-4a8b-b0ad-7d9ff7e5f7dc"], ["LIMIT", 1]]
667
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
668
- 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", "587a1cca-38a0-4a8b-b0ad-7d9ff7e5f7dc"], ["subscription_group_id", "12a38dad-a65c-4371-80b8-f518d3123058"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"587a1cca-38a0-4a8b-b0ad-7d9ff7e5f7dc\",\n subscriptionGroupId: \"12a38dad-a65c-4371-80b8-f518d3123058\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:45:56.116723"], ["updated_at", "2022-04-13 18:45:56.116723"]]
669
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
670
-  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
671
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "587a1cca-38a0-4a8b-b0ad-7d9ff7e5f7dc"], ["LIMIT", 1]]
672
-  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
673
- NulogyMessageBusProducer::SelfServeSubscription Load (2.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5cb1ad7b-6d69-4109-91e2-79cacf8af10e"], ["LIMIT", 1]]
674
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
675
- 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", "5cb1ad7b-6d69-4109-91e2-79cacf8af10e"], ["subscription_group_id", "726775c6-3251-486a-bc1e-930f4624e973"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"5cb1ad7b-6d69-4109-91e2-79cacf8af10e\",\n subscriptionGroupId: \"726775c6-3251-486a-bc1e-930f4624e973\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:45:56.137155"], ["updated_at", "2022-04-13 18:45:56.137155"]]
676
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
677
-  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
678
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "5cb1ad7b-6d69-4109-91e2-79cacf8af10e"], ["LIMIT", 1]]
679
-  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
680
- 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"]]
681
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "587a1cca-38a0-4a8b-b0ad-7d9ff7e5f7dc"], ["LIMIT", 1]]
682
- TRANSACTION (1.7ms) BEGIN
683
-  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
684
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "25d3fdbe-ce3c-4759-a1dd-714f32f9e8f4"], ["LIMIT", 1]]
1776
+ 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", "97adef97-384e-48b2-909a-080422fce7f1"], ["subscription_group_id", "b37733da-cff4-4259-8295-5cc1bdcd3b70"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"97adef97-384e-48b2-909a-080422fce7f1\",\n subscriptionGroupId: \"b37733da-cff4-4259-8295-5cc1bdcd3b70\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:40.984907"], ["updated_at", "2022-08-16 14:46:40.984907"]]
1777
+ TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
1778
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1779
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "97adef97-384e-48b2-909a-080422fce7f1"], ["LIMIT", 1]]
1780
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1781
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "836fc2d5-7214-4fc7-bc16-274829b01e1d"], ["LIMIT", 1]]
685
1782
  TRANSACTION (1.6ms) SAVEPOINT active_record_1
686
- NulogyMessageBusProducer::SelfServeSubscription Create (2.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", "25d3fdbe-ce3c-4759-a1dd-714f32f9e8f4"], ["subscription_group_id", "18f7cd2f-ea19-4835-ba48-6cd38ad9ce8a"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"25d3fdbe-ce3c-4759-a1dd-714f32f9e8f4\",\n subscriptionGroupId: \"18f7cd2f-ea19-4835-ba48-6cd38ad9ce8a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:46:21.461417"], ["updated_at", "2022-04-13 18:46:21.461417"]]
687
- TRANSACTION (2.3ms) RELEASE SAVEPOINT active_record_1
688
-  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
689
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "25d3fdbe-ce3c-4759-a1dd-714f32f9e8f4"], ["LIMIT", 1]]
1783
+ 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", "836fc2d5-7214-4fc7-bc16-274829b01e1d"], ["subscription_group_id", "a4dc79d3-e4ac-45e1-9cea-c2489ad3c52f"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"836fc2d5-7214-4fc7-bc16-274829b01e1d\",\n subscriptionGroupId: \"a4dc79d3-e4ac-45e1-9cea-c2489ad3c52f\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:41.000001"], ["updated_at", "2022-08-16 14:46:41.000001"]]
1784
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1785
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1786
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "836fc2d5-7214-4fc7-bc16-274829b01e1d"], ["LIMIT", 1]]
1787
+ 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"]]
1788
+ TRANSACTION (1.5ms) ROLLBACK
1789
+ TRANSACTION (1.0ms) BEGIN
1790
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1791
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f70f8215-8d2a-4cb9-8fba-5019ae9686e7"], ["LIMIT", 1]]
1792
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
1793
+ 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", "f70f8215-8d2a-4cb9-8fba-5019ae9686e7"], ["subscription_group_id", "2e5ccd40-5738-40de-a5b8-856748040ce5"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"f70f8215-8d2a-4cb9-8fba-5019ae9686e7\",\n subscriptionGroupId: \"2e5ccd40-5738-40de-a5b8-856748040ce5\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:41.020090"], ["updated_at", "2022-08-16 14:46:41.020090"]]
1794
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
1795
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1796
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f70f8215-8d2a-4cb9-8fba-5019ae9686e7"], ["LIMIT", 1]]
1797
+ 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"]]
1798
+ TRANSACTION (1.4ms) ROLLBACK
1799
+ TRANSACTION (1.2ms) BEGIN
1800
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1801
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "db7a7499-09d0-4e59-9e6a-1b66d586fca9"], ["LIMIT", 1]]
690
1802
  TRANSACTION (1.5ms) SAVEPOINT active_record_1
691
- NulogyMessageBusProducer::SelfServeSubscription Update (1.9ms) 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", "2022-04-13 18:46:21.477746"], ["id", "25d3fdbe-ce3c-4759-a1dd-714f32f9e8f4"]]
1803
+ 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", "db7a7499-09d0-4e59-9e6a-1b66d586fca9"], ["subscription_group_id", "acdb5323-89be-443a-8ee2-1691f67d69d2"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"db7a7499-09d0-4e59-9e6a-1b66d586fca9\",\n subscriptionGroupId: \"acdb5323-89be-443a-8ee2-1691f67d69d2\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:41.043317"], ["updated_at", "2022-08-16 14:46:41.043317"]]
1804
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1805
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1806
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "db7a7499-09d0-4e59-9e6a-1b66d586fca9"], ["LIMIT", 1]]
1807
+ 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"]]
1808
+ TRANSACTION (1.1ms) ROLLBACK
1809
+ TRANSACTION (1.0ms) BEGIN
1810
+  (5.0ms) TRUNCATE schema_migrations
1811
+  (3.8ms) TRUNCATE ar_internal_metadata
1812
+  (5.5ms) TRUNCATE message_bus_subscription_events
1813
+  (5.7ms) TRUNCATE message_bus_subscriptions
1814
+  (5.3ms) TRUNCATE message_bus_subscription_events
1815
+  (5.0ms) TRUNCATE message_bus_subscriptions
1816
+ TRANSACTION (3.3ms) ROLLBACK
1817
+ TRANSACTION (1.3ms) BEGIN
1818
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1819
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b52ea634-2e4d-410e-831c-ca372d5ff5d5"], ["LIMIT", 1]]
1820
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1821
+ 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", "b52ea634-2e4d-410e-831c-ca372d5ff5d5"], ["subscription_group_id", "6ba748ac-29d1-4727-be5e-a690b538413e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b52ea634-2e4d-410e-831c-ca372d5ff5d5\",\n subscriptionGroupId: \"6ba748ac-29d1-4727-be5e-a690b538413e\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:42.231805"], ["updated_at", "2022-08-16 14:46:42.231805"]]
692
1822
  TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
693
- 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"]]
694
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "25d3fdbe-ce3c-4759-a1dd-714f32f9e8f4"], ["LIMIT", 1]]
695
- TRANSACTION (2.2ms) ROLLBACK
696
- TRANSACTION (1.1ms) BEGIN
1823
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1824
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b52ea634-2e4d-410e-831c-ca372d5ff5d5"], ["LIMIT", 1]]
1825
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
1826
+ 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: \"b52ea634-2e4d-410e-831c-ca372d5ff5d5\",\n subscriptionGroupId: \"6ba748ac-29d1-4727-be5e-a690b538413e\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-08-16 14:46:42.240641"], ["id", "b52ea634-2e4d-410e-831c-ca372d5ff5d5"]]
1827
+ TRANSACTION (0.9ms) RELEASE SAVEPOINT active_record_1
1828
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1829
+ TRANSACTION (1.2ms) ROLLBACK
1830
+ TRANSACTION (1.2ms) BEGIN
697
1831
   (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
698
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cfe0645a-8f0c-4a9d-a0ec-a8051a58b200"], ["LIMIT", 1]]
699
- TRANSACTION (1.4ms) SAVEPOINT active_record_1
700
- 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", "cfe0645a-8f0c-4a9d-a0ec-a8051a58b200"], ["subscription_group_id", "e8c464c1-be40-4e94-a321-71c4753c6024"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"cfe0645a-8f0c-4a9d-a0ec-a8051a58b200\",\n subscriptionGroupId: \"e8c464c1-be40-4e94-a321-71c4753c6024\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:46:21.922439"], ["updated_at", "2022-04-13 18:46:21.922439"]]
1832
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d01142b-3e8e-4090-a526-ce4d483f6b83"], ["LIMIT", 1]]
1833
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
1834
+ NulogyMessageBusProducer::SelfServeSubscription Create (1.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", "1d01142b-3e8e-4090-a526-ce4d483f6b83"], ["subscription_group_id", "9aba3e5e-792f-4b5c-affc-359e1abaa37e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"1d01142b-3e8e-4090-a526-ce4d483f6b83\",\n subscriptionGroupId: \"9aba3e5e-792f-4b5c-affc-359e1abaa37e\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:42.257615"], ["updated_at", "2022-08-16 14:46:42.257615"]]
1835
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1836
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1837
+ NulogyMessageBusProducer::SelfServeSubscription Load (0.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "1d01142b-3e8e-4090-a526-ce4d483f6b83"], ["LIMIT", 1]]
1838
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
1839
+ 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: \"1d01142b-3e8e-4090-a526-ce4d483f6b83\",\n subscriptionGroupId: \"9aba3e5e-792f-4b5c-affc-359e1abaa37e\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-08-16 14:46:42.264645"], ["id", "1d01142b-3e8e-4090-a526-ce4d483f6b83"]]
1840
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1841
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1842
+ TRANSACTION (1.1ms) ROLLBACK
1843
+ TRANSACTION (1.0ms) BEGIN
1844
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1845
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c039b56e-a7a3-4613-89b5-79e51f6ddee1"], ["LIMIT", 1]]
1846
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1847
+ 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", "c039b56e-a7a3-4613-89b5-79e51f6ddee1"], ["subscription_group_id", "8f41fe7b-2b62-47f1-bc17-693f35975b36"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c039b56e-a7a3-4613-89b5-79e51f6ddee1\",\n subscriptionGroupId: \"8f41fe7b-2b62-47f1-bc17-693f35975b36\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:42.280901"], ["updated_at", "2022-08-16 14:46:42.280901"]]
701
1848
  TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
702
1849
   (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
703
- NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cfe0645a-8f0c-4a9d-a0ec-a8051a58b200"], ["LIMIT", 1]]
1850
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c039b56e-a7a3-4613-89b5-79e51f6ddee1"], ["LIMIT", 1]]
1851
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
1852
+ TRANSACTION (0.9ms) ROLLBACK
1853
+ TRANSACTION (1.2ms) BEGIN
1854
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d319ae2b-565c-42cc-8628-9d139ee4d702"], ["LIMIT", 1]]
1855
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1856
+ 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", "d319ae2b-565c-42cc-8628-9d139ee4d702"], ["subscription_group_id", "4e0d4d4b-225f-40e0-b997-311a48b65c60"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"d319ae2b-565c-42cc-8628-9d139ee4d702\",\n subscriptionGroupId: \"4e0d4d4b-225f-40e0-b997-311a48b65c60\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 14:46:42.354287"], ["updated_at", "2022-08-16 14:46:42.354287"]]
1857
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1858
+ TRANSACTION (1.1ms) ROLLBACK
1859
+ TRANSACTION (1.5ms) BEGIN
1860
+  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1861
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c890bf15-4fed-439d-8b04-18f46c8a7076"], ["LIMIT", 1]]
1862
+ TRANSACTION (1.7ms) SAVEPOINT active_record_1
1863
+ 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", "c890bf15-4fed-439d-8b04-18f46c8a7076"], ["subscription_group_id", "011c361d-3a1d-41c2-a8b4-6846d39b1721"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c890bf15-4fed-439d-8b04-18f46c8a7076\",\n subscriptionGroupId: \"011c361d-3a1d-41c2-a8b4-6846d39b1721\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.487436"], ["updated_at", "2022-08-16 15:24:30.487436"]]
1864
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
1865
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1866
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c890bf15-4fed-439d-8b04-18f46c8a7076"], ["LIMIT", 1]]
1867
+  (3.2ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1868
+ 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"]]
1869
+ 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", "afca6757-96a2-4653-b257-4a4776e98786"], ["LIMIT", 1]]
1870
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
1871
+ 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", "afca6757-96a2-4653-b257-4a4776e98786"], ["subscription_id", "61b983e4-17d7-418d-9c1f-21f6974a280c"], ["partition_key", "81322e2b-94b2-4298-9b2e-f48faf2ab4d0,e7342798-e231-4700-a0c8-d9cb37b2a339"], ["topic_name", "configured_topic"], ["company_uuid", "e7342798-e231-4700-a0c8-d9cb37b2a339"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 15:24:30.522367"]]
1872
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1873
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c890bf15-4fed-439d-8b04-18f46c8a7076"], ["LIMIT", 1]]
1874
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c890bf15-4fed-439d-8b04-18f46c8a7076"], ["LIMIT", 1]]
1875
+ 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", "2b97ad95-ad1c-4e90-9fd4-b1cbe702098e"], ["LIMIT", 1]]
1876
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1877
+ 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", "2b97ad95-ad1c-4e90-9fd4-b1cbe702098e"], ["subscription_id", "c890bf15-4fed-439d-8b04-18f46c8a7076"], ["partition_key", "011c361d-3a1d-41c2-a8b4-6846d39b1721,e7342798-e231-4700-a0c8-d9cb37b2a339"], ["topic_name", "self_serve_topic"], ["company_uuid", "e7342798-e231-4700-a0c8-d9cb37b2a339"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 15:24:30.533805"]]
1878
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1879
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1880
+ 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", "c890bf15-4fed-439d-8b04-18f46c8a7076"], ["LIMIT", 1]]
1881
+ 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", "61b983e4-17d7-418d-9c1f-21f6974a280c"], ["LIMIT", 1]]
1882
+ TRANSACTION (1.2ms) ROLLBACK
1883
+ TRANSACTION (1.2ms) BEGIN
1884
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1885
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7334a7d3-518d-42a6-88b4-a1f0c7f72326"], ["LIMIT", 1]]
1886
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1887
+ 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", "7334a7d3-518d-42a6-88b4-a1f0c7f72326"], ["subscription_group_id", "348f2c43-a263-4fa1-a0b5-5c35ab1bdc10"], ["event_type", "testCreated"], ["topic_name", "self_serve_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"7334a7d3-518d-42a6-88b4-a1f0c7f72326\",\n subscriptionGroupId: \"348f2c43-a263-4fa1-a0b5-5c35ab1bdc10\",\n topicName: \"self_serve_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.593620"], ["updated_at", "2022-08-16 15:24:30.593620"]]
1888
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1889
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1890
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "7334a7d3-518d-42a6-88b4-a1f0c7f72326"], ["LIMIT", 1]]
1891
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1892
+ 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"]]
1893
+ 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", "95b199a3-075e-4b9f-8d04-0b47f0f1f8e1"], ["LIMIT", 1]]
1894
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1895
+ 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", "95b199a3-075e-4b9f-8d04-0b47f0f1f8e1"], ["subscription_id", "7334a7d3-518d-42a6-88b4-a1f0c7f72326"], ["partition_key", "866e3d60-2557-4967-abbf-22f7d5bf7dcd,75be0601-9a36-40a4-a3d5-884552594869"], ["topic_name", "configured_topic"], ["company_uuid", "75be0601-9a36-40a4-a3d5-884552594869"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 15:24:30.610271"]]
1896
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1897
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1898
+ 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", "7334a7d3-518d-42a6-88b4-a1f0c7f72326"], ["LIMIT", 1]]
1899
+ TRANSACTION (1.4ms) ROLLBACK
1900
+ TRANSACTION (1.2ms) BEGIN
1901
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1902
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "66b3507e-7044-48bc-b45b-897116a84c69"], ["LIMIT", 1]]
704
1903
  TRANSACTION (1.3ms) SAVEPOINT active_record_1
705
- 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", "2022-04-13 18:46:21.931159"], ["id", "cfe0645a-8f0c-4a9d-a0ec-a8051a58b200"]]
706
- TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
707
- 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"]]
708
- NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "cfe0645a-8f0c-4a9d-a0ec-a8051a58b200"], ["LIMIT", 1]]
709
- TRANSACTION (2.0ms) ROLLBACK
710
- TRANSACTION (1.6ms) BEGIN
711
-  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
712
- NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2eba71a0-c63c-45b8-a4d2-990b3be88826"], ["LIMIT", 1]]
713
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
714
- 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", "2eba71a0-c63c-45b8-a4d2-990b3be88826"], ["subscription_group_id", "8afd000d-ff03-43cb-a785-25dad1a5dd7e"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"2eba71a0-c63c-45b8-a4d2-990b3be88826\",\n subscriptionGroupId: \"8afd000d-ff03-43cb-a785-25dad1a5dd7e\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:46:21.959220"], ["updated_at", "2022-04-13 18:46:21.959220"]]
715
- TRANSACTION (1.9ms) RELEASE SAVEPOINT active_record_1
716
-  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
717
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2eba71a0-c63c-45b8-a4d2-990b3be88826"], ["LIMIT", 1]]
1904
+ 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", "66b3507e-7044-48bc-b45b-897116a84c69"], ["subscription_group_id", "4d3df888-1a19-4e9a-ba26-99c7972a3861"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"66b3507e-7044-48bc-b45b-897116a84c69\",\n subscriptionGroupId: \"4d3df888-1a19-4e9a-ba26-99c7972a3861\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.629380"], ["updated_at", "2022-08-16 15:24:30.629380"]]
1905
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1906
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1907
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "66b3507e-7044-48bc-b45b-897116a84c69"], ["LIMIT", 1]]
1908
+ 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"]]
1909
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "66b3507e-7044-48bc-b45b-897116a84c69"], ["LIMIT", 1]]
1910
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "66b3507e-7044-48bc-b45b-897116a84c69"], ["LIMIT", 1]]
1911
+ 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", "60841ff2-aa8c-4cbe-9964-9b1c5ce2bbc9"], ["LIMIT", 1]]
718
1912
  TRANSACTION (1.3ms) SAVEPOINT active_record_1
719
- 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", "2022-04-13 18:46:21.969908"], ["id", "2eba71a0-c63c-45b8-a4d2-990b3be88826"]]
720
- TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
721
- NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
722
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "2eba71a0-c63c-45b8-a4d2-990b3be88826"], ["LIMIT", 1]]
723
- TRANSACTION (1.9ms) ROLLBACK
724
- TRANSACTION (1.4ms) BEGIN
725
-  (2.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
726
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bbcb75c7-db0b-474f-9f73-1afd7f97f542"], ["LIMIT", 1]]
727
- TRANSACTION (2.1ms) SAVEPOINT active_record_1
728
- 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", "bbcb75c7-db0b-474f-9f73-1afd7f97f542"], ["subscription_group_id", "07d144aa-561e-46a7-aef0-b7df9350efe3"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"bbcb75c7-db0b-474f-9f73-1afd7f97f542\",\n subscriptionGroupId: \"07d144aa-561e-46a7-aef0-b7df9350efe3\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:46:21.998655"], ["updated_at", "2022-04-13 18:46:21.998655"]]
1913
+ 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", "60841ff2-aa8c-4cbe-9964-9b1c5ce2bbc9"], ["subscription_id", "66b3507e-7044-48bc-b45b-897116a84c69"], ["partition_key", "4d3df888-1a19-4e9a-ba26-99c7972a3861,0f5200e7-8eb6-4a99-9b5f-94498f4b8272"], ["topic_name", "some_topic"], ["company_uuid", "0f5200e7-8eb6-4a99-9b5f-94498f4b8272"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2022-08-16 15:24:30.645773"]]
729
1914
  TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
1915
+ 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", "66b3507e-7044-48bc-b45b-897116a84c69"], ["LIMIT", 1]]
1916
+ TRANSACTION (1.3ms) ROLLBACK
1917
+ TRANSACTION (2.4ms) BEGIN
1918
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1919
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "585dce07-dd2e-41dd-92cf-4e9cf4d57cf0"], ["LIMIT", 1]]
1920
+ TRANSACTION (3.8ms) SAVEPOINT active_record_1
1921
+ 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", "585dce07-dd2e-41dd-92cf-4e9cf4d57cf0"], ["subscription_group_id", "4015807e-5eae-44fe-83d4-170b26ee8e13"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"585dce07-dd2e-41dd-92cf-4e9cf4d57cf0\",\n subscriptionGroupId: \"4015807e-5eae-44fe-83d4-170b26ee8e13\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.665766"], ["updated_at", "2022-08-16 15:24:30.665766"]]
1922
+ TRANSACTION (1.8ms) RELEASE SAVEPOINT active_record_1
730
1923
   (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
731
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bbcb75c7-db0b-474f-9f73-1afd7f97f542"], ["LIMIT", 1]]
732
-  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
733
- NulogyMessageBusProducer::SelfServeSubscription Load (3.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "11df44ac-04ad-4472-b084-af8edd94de9d"], ["LIMIT", 1]]
734
- TRANSACTION (2.6ms) SAVEPOINT active_record_1
735
- 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", "11df44ac-04ad-4472-b084-af8edd94de9d"], ["subscription_group_id", "817a0d9c-5c25-4414-8d82-e8d3b1c132d0"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"11df44ac-04ad-4472-b084-af8edd94de9d\",\n subscriptionGroupId: \"817a0d9c-5c25-4414-8d82-e8d3b1c132d0\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:46:22.021117"], ["updated_at", "2022-04-13 18:46:22.021117"]]
1924
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "585dce07-dd2e-41dd-92cf-4e9cf4d57cf0"], ["LIMIT", 1]]
1925
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1926
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f8273bee-6812-4d60-89ac-6f7e1ad4a9a1"], ["LIMIT", 1]]
1927
+ TRANSACTION (1.9ms) SAVEPOINT active_record_1
1928
+ NulogyMessageBusProducer::SelfServeSubscription Create (3.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", "f8273bee-6812-4d60-89ac-6f7e1ad4a9a1"], ["subscription_group_id", "78553da2-4527-4c69-9b70-623c51422685"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"f8273bee-6812-4d60-89ac-6f7e1ad4a9a1\",\n subscriptionGroupId: \"78553da2-4527-4c69-9b70-623c51422685\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.683753"], ["updated_at", "2022-08-16 15:24:30.683753"]]
736
1929
  TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
737
-  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
738
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "11df44ac-04ad-4472-b084-af8edd94de9d"], ["LIMIT", 1]]
739
-  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1930
+  (2.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1931
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f8273bee-6812-4d60-89ac-6f7e1ad4a9a1"], ["LIMIT", 1]]
1932
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
740
1933
  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"]]
741
- NulogyMessageBusProducer::SelfServeSubscription Load (2.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bbcb75c7-db0b-474f-9f73-1afd7f97f542"], ["LIMIT", 1]]
742
- NulogyMessageBusProducer::SelfServeSubscription Load (2.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "bbcb75c7-db0b-474f-9f73-1afd7f97f542"], ["LIMIT", 1]]
743
- 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", "101c9473-ef96-4df2-9957-5d7598122107"], ["LIMIT", 1]]
744
- TRANSACTION (1.7ms) SAVEPOINT active_record_1
745
- 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", "101c9473-ef96-4df2-9957-5d7598122107"], ["subscription_id", "bbcb75c7-db0b-474f-9f73-1afd7f97f542"], ["partition_key", "07d144aa-561e-46a7-aef0-b7df9350efe3,be63edcf-dc3b-40ee-bb90-f8d5e4ed46e2"], ["topic_name", "some_topic"], ["company_uuid", "be63edcf-dc3b-40ee-bb90-f8d5e4ed46e2"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:46:22.061377"]]
1934
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "585dce07-dd2e-41dd-92cf-4e9cf4d57cf0"], ["LIMIT", 1]]
1935
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "585dce07-dd2e-41dd-92cf-4e9cf4d57cf0"], ["LIMIT", 1]]
1936
+ 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", "45ad0fe9-99ec-4dc7-9c70-69b3859b9e94"], ["LIMIT", 1]]
1937
+ TRANSACTION (1.8ms) SAVEPOINT active_record_1
1938
+ 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", "45ad0fe9-99ec-4dc7-9c70-69b3859b9e94"], ["subscription_id", "585dce07-dd2e-41dd-92cf-4e9cf4d57cf0"], ["partition_key", "4015807e-5eae-44fe-83d4-170b26ee8e13,f5417972-b454-49f9-9757-8fe18983a87a"], ["topic_name", "some_topic"], ["company_uuid", "f5417972-b454-49f9-9757-8fe18983a87a"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 15:24:30.707171"]]
746
1939
  TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
747
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "11df44ac-04ad-4472-b084-af8edd94de9d"], ["LIMIT", 1]]
748
- NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "11df44ac-04ad-4472-b084-af8edd94de9d"], ["LIMIT", 1]]
749
- 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", "ec4d7e28-d68a-42eb-8790-1ea400a603cc"], ["LIMIT", 1]]
1940
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f8273bee-6812-4d60-89ac-6f7e1ad4a9a1"], ["LIMIT", 1]]
1941
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "f8273bee-6812-4d60-89ac-6f7e1ad4a9a1"], ["LIMIT", 1]]
1942
+ 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", "5237218a-d716-490e-b795-a135dec164a8"], ["LIMIT", 1]]
1943
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1944
+ 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", "5237218a-d716-490e-b795-a135dec164a8"], ["subscription_id", "f8273bee-6812-4d60-89ac-6f7e1ad4a9a1"], ["partition_key", "78553da2-4527-4c69-9b70-623c51422685,f5417972-b454-49f9-9757-8fe18983a87a"], ["topic_name", "some_topic"], ["company_uuid", "f5417972-b454-49f9-9757-8fe18983a87a"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 15:24:30.719212"]]
1945
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
1946
+  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
1947
+  (1.2ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
1948
+ TRANSACTION (1.1ms) ROLLBACK
1949
+ TRANSACTION (1.1ms) BEGIN
1950
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1951
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ebe0a7d9-f460-4bf9-b7f1-47e7517185f5"], ["LIMIT", 1]]
1952
+ TRANSACTION (1.4ms) SAVEPOINT active_record_1
1953
+ 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", "ebe0a7d9-f460-4bf9-b7f1-47e7517185f5"], ["subscription_group_id", "771fb0ba-75d8-4c39-9cea-32f7c2b28b39"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ebe0a7d9-f460-4bf9-b7f1-47e7517185f5\",\n subscriptionGroupId: \"771fb0ba-75d8-4c39-9cea-32f7c2b28b39\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.738426"], ["updated_at", "2022-08-16 15:24:30.738426"]]
1954
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1955
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1956
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ebe0a7d9-f460-4bf9-b7f1-47e7517185f5"], ["LIMIT", 1]]
1957
+ 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"]]
1958
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ebe0a7d9-f460-4bf9-b7f1-47e7517185f5"], ["LIMIT", 1]]
1959
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ebe0a7d9-f460-4bf9-b7f1-47e7517185f5"], ["LIMIT", 1]]
1960
+ 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", "28437056-6cf9-4762-a775-852ec3b4ea49"], ["LIMIT", 1]]
1961
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
1962
+ 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", "28437056-6cf9-4762-a775-852ec3b4ea49"], ["subscription_id", "ebe0a7d9-f460-4bf9-b7f1-47e7517185f5"], ["partition_key", "771fb0ba-75d8-4c39-9cea-32f7c2b28b39,103f9424-e2c9-4fca-a35f-89d1f81ba81b"], ["topic_name", "some_topic"], ["company_uuid", "103f9424-e2c9-4fca-a35f-89d1f81ba81b"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 15:24:30.755645"]]
1963
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
1964
+ 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", "ebe0a7d9-f460-4bf9-b7f1-47e7517185f5"], ["LIMIT", 1]]
1965
+ TRANSACTION (1.3ms) ROLLBACK
1966
+ TRANSACTION (1.4ms) BEGIN
1967
+ 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"]]
1968
+ 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", "16bc6623-7d2f-4be8-b820-5c639ec2a5fa"], ["LIMIT", 1]]
750
1969
  TRANSACTION (1.2ms) SAVEPOINT active_record_1
751
- 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", "ec4d7e28-d68a-42eb-8790-1ea400a603cc"], ["subscription_id", "11df44ac-04ad-4472-b084-af8edd94de9d"], ["partition_key", "817a0d9c-5c25-4414-8d82-e8d3b1c132d0,be63edcf-dc3b-40ee-bb90-f8d5e4ed46e2"], ["topic_name", "some_topic"], ["company_uuid", "be63edcf-dc3b-40ee-bb90-f8d5e4ed46e2"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:46:22.075603"]]
1970
+ 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", "16bc6623-7d2f-4be8-b820-5c639ec2a5fa"], ["subscription_id", "2ed22d9e-ea5f-4aa1-9976-053f0e36887c"], ["partition_key", "b2f743ee-a27d-4bdc-93d1-2549452c4478,64267bc3-5678-463a-ab85-af39cb5eb79b"], ["topic_name", "some_topic"], ["company_uuid", "64267bc3-5678-463a-ab85-af39cb5eb79b"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-08-16 15:24:30.775119"]]
752
1971
  TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
753
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
754
-  (1.9ms) SELECT "message_bus_subscription_events"."event_json" FROM "message_bus_subscription_events"
755
- TRANSACTION (1.1ms) ROLLBACK
1972
+ 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", "2ed22d9e-ea5f-4aa1-9976-053f0e36887c"], ["LIMIT", 1]]
1973
+ TRANSACTION (1.4ms) ROLLBACK
1974
+ TRANSACTION (1.3ms) BEGIN
1975
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1976
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "46c788f0-a09f-42c9-91bf-8986af084c70"], ["LIMIT", 1]]
1977
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
1978
+ 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", "46c788f0-a09f-42c9-91bf-8986af084c70"], ["subscription_group_id", "5708d9e4-37d3-4667-8fe6-d9375c45a5c1"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"46c788f0-a09f-42c9-91bf-8986af084c70\",\n subscriptionGroupId: \"5708d9e4-37d3-4667-8fe6-d9375c45a5c1\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.795927"], ["updated_at", "2022-08-16 15:24:30.795927"]]
1979
+ TRANSACTION (1.0ms) RELEASE SAVEPOINT active_record_1
1980
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1981
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "46c788f0-a09f-42c9-91bf-8986af084c70"], ["LIMIT", 1]]
1982
+ TRANSACTION (1.1ms) SAVEPOINT active_record_1
1983
+ 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", "2022-08-16 15:24:30.802811"], ["id", "46c788f0-a09f-42c9-91bf-8986af084c70"]]
1984
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1985
+ 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"]]
1986
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "46c788f0-a09f-42c9-91bf-8986af084c70"], ["LIMIT", 1]]
1987
+ TRANSACTION (1.3ms) ROLLBACK
756
1988
  TRANSACTION (1.4ms) BEGIN
757
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
758
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3378ccae-fa64-4b13-abbe-a6c18f2873a9"], ["LIMIT", 1]]
759
- TRANSACTION (1.5ms) SAVEPOINT active_record_1
760
- 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", "3378ccae-fa64-4b13-abbe-a6c18f2873a9"], ["subscription_group_id", "3ec732ba-5c78-4d6d-aaab-569a12f5338a"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"3378ccae-fa64-4b13-abbe-a6c18f2873a9\",\n subscriptionGroupId: \"3ec732ba-5c78-4d6d-aaab-569a12f5338a\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:46:22.098906"], ["updated_at", "2022-04-13 18:46:22.098906"]]
761
- TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
762
1989
   (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
763
- NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3378ccae-fa64-4b13-abbe-a6c18f2873a9"], ["LIMIT", 1]]
764
- 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"]]
765
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3378ccae-fa64-4b13-abbe-a6c18f2873a9"], ["LIMIT", 1]]
766
- NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3378ccae-fa64-4b13-abbe-a6c18f2873a9"], ["LIMIT", 1]]
767
- NulogyMessageBusProducer::SubscriptionEvent Load (2.2ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "4584cd36-c10c-4922-82d6-6d36763e2c31"], ["LIMIT", 1]]
768
- TRANSACTION (2.1ms) SAVEPOINT active_record_1
769
- NulogyMessageBusProducer::SubscriptionEvent Create (1.9ms) 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", "4584cd36-c10c-4922-82d6-6d36763e2c31"], ["subscription_id", "3378ccae-fa64-4b13-abbe-a6c18f2873a9"], ["partition_key", "3ec732ba-5c78-4d6d-aaab-569a12f5338a,993901aa-18c4-4e5a-9c40-556a0d8975d7"], ["topic_name", "some_topic"], ["company_uuid", "993901aa-18c4-4e5a-9c40-556a0d8975d7"], ["event_json", "{\"testCreated\":{\"foo\":{\"id\":\"some id\"}}}"], ["created_at", "2022-04-13 18:46:22.121704"]]
770
- TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
771
- 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", "3378ccae-fa64-4b13-abbe-a6c18f2873a9"], ["LIMIT", 1]]
772
- TRANSACTION (1.5ms) ROLLBACK
773
- TRANSACTION (1.5ms) BEGIN
774
-  (2.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
775
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "807cdf51-423d-406b-a2e1-efb64e0d7c5d"], ["LIMIT", 1]]
776
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
777
- 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", "807cdf51-423d-406b-a2e1-efb64e0d7c5d"], ["subscription_group_id", "2fb8555a-7b25-4eda-a8d3-fe7211d435b3"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"807cdf51-423d-406b-a2e1-efb64e0d7c5d\",\n subscriptionGroupId: \"2fb8555a-7b25-4eda-a8d3-fe7211d435b3\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:46:22.149471"], ["updated_at", "2022-04-13 18:46:22.149471"]]
778
- TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
779
-  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
780
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "807cdf51-423d-406b-a2e1-efb64e0d7c5d"], ["LIMIT", 1]]
781
- NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
782
- NulogyMessageBusProducer::SelfServeSubscription Load (3.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "807cdf51-423d-406b-a2e1-efb64e0d7c5d"], ["LIMIT", 1]]
783
- TRANSACTION (1.9ms) BEGIN
784
-  (2.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
785
- NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "dfe9ad78-9843-4931-9ad3-265a91569d80"], ["LIMIT", 1]]
786
- TRANSACTION (1.4ms) SAVEPOINT active_record_1
787
- 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", "dfe9ad78-9843-4931-9ad3-265a91569d80"], ["subscription_group_id", "338cb452-4c45-42cb-8cfe-891a19793954"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"dfe9ad78-9843-4931-9ad3-265a91569d80\",\n subscriptionGroupId: \"338cb452-4c45-42cb-8cfe-891a19793954\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:47:10.618598"], ["updated_at", "2022-04-13 18:47:10.618598"]]
1990
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c15839ea-3ddd-43a9-8a68-5563ada1444a"], ["LIMIT", 1]]
1991
+ TRANSACTION (1.6ms) SAVEPOINT active_record_1
1992
+ 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", "c15839ea-3ddd-43a9-8a68-5563ada1444a"], ["subscription_group_id", "228827cb-3db5-4ae2-9c86-b04ff015ee47"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c15839ea-3ddd-43a9-8a68-5563ada1444a\",\n subscriptionGroupId: \"228827cb-3db5-4ae2-9c86-b04ff015ee47\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.823909"], ["updated_at", "2022-08-16 15:24:30.823909"]]
1993
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
1994
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
1995
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c15839ea-3ddd-43a9-8a68-5563ada1444a"], ["LIMIT", 1]]
1996
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
1997
+ 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", "2022-08-16 15:24:30.832444"], ["id", "c15839ea-3ddd-43a9-8a68-5563ada1444a"]]
788
1998
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
789
-  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
790
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "dfe9ad78-9843-4931-9ad3-265a91569d80"], ["LIMIT", 1]]
1999
+ 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"]]
2000
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c15839ea-3ddd-43a9-8a68-5563ada1444a"], ["LIMIT", 1]]
2001
+ TRANSACTION (2.2ms) ROLLBACK
2002
+ TRANSACTION (1.7ms) BEGIN
2003
+  (1.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2004
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "34679ce9-d501-40bb-8286-074c08c20c67"], ["LIMIT", 1]]
791
2005
  TRANSACTION (1.4ms) SAVEPOINT active_record_1
792
- 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", "2022-04-13 18:47:10.629498"], ["id", "dfe9ad78-9843-4931-9ad3-265a91569d80"]]
2006
+ 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", "34679ce9-d501-40bb-8286-074c08c20c67"], ["subscription_group_id", "0f8fe0d4-a332-49f1-9824-443f5d736ce9"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"34679ce9-d501-40bb-8286-074c08c20c67\",\n subscriptionGroupId: \"0f8fe0d4-a332-49f1-9824-443f5d736ce9\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.856738"], ["updated_at", "2022-08-16 15:24:30.856738"]]
2007
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
2008
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2009
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "34679ce9-d501-40bb-8286-074c08c20c67"], ["LIMIT", 1]]
2010
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
2011
+ 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", "2022-08-16 15:24:30.864679"], ["id", "34679ce9-d501-40bb-8286-074c08c20c67"]]
793
2012
  TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
794
2013
  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"]]
795
- NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "dfe9ad78-9843-4931-9ad3-265a91569d80"], ["LIMIT", 1]]
2014
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "34679ce9-d501-40bb-8286-074c08c20c67"], ["LIMIT", 1]]
796
2015
  TRANSACTION (1.5ms) ROLLBACK
797
- TRANSACTION (1.8ms) BEGIN
798
-  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
799
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "37029af1-52f0-4284-b893-4988252b43b6"], ["LIMIT", 1]]
800
- TRANSACTION (2.1ms) SAVEPOINT active_record_1
801
- 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", "37029af1-52f0-4284-b893-4988252b43b6"], ["subscription_group_id", "03a8b1e2-c352-4595-9635-7787a920df40"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"37029af1-52f0-4284-b893-4988252b43b6\",\n subscriptionGroupId: \"03a8b1e2-c352-4595-9635-7787a920df40\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:47:10.680311"], ["updated_at", "2022-04-13 18:47:10.680311"]]
802
- TRANSACTION (1.6ms) RELEASE SAVEPOINT active_record_1
2016
+ TRANSACTION (1.3ms) BEGIN
2017
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2018
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3b996d71-2d07-4302-9439-3589207837df"], ["LIMIT", 1]]
2019
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
2020
+ 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", "3b996d71-2d07-4302-9439-3589207837df"], ["subscription_group_id", "31785565-8e2a-4a7c-a893-8d17c5646eee"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"3b996d71-2d07-4302-9439-3589207837df\",\n subscriptionGroupId: \"31785565-8e2a-4a7c-a893-8d17c5646eee\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.913596"], ["updated_at", "2022-08-16 15:24:30.913596"]]
2021
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
803
2022
   (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
804
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "37029af1-52f0-4284-b893-4988252b43b6"], ["LIMIT", 1]]
805
- TRANSACTION (1.7ms) SAVEPOINT active_record_1
806
- 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", "2022-04-13 18:47:10.691678"], ["id", "37029af1-52f0-4284-b893-4988252b43b6"]]
807
- TRANSACTION (2.1ms) RELEASE SAVEPOINT active_record_1
808
- NulogyMessageBusProducer::SelfServeSubscription Load (3.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"]]
809
- NulogyMessageBusProducer::SelfServeSubscription Load (1.9ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "37029af1-52f0-4284-b893-4988252b43b6"], ["LIMIT", 1]]
810
- TRANSACTION (2.4ms) ROLLBACK
811
- TRANSACTION (2.0ms) BEGIN
812
-  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
813
- NulogyMessageBusProducer::SelfServeSubscription Load (1.6ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "58875123-a490-4157-baef-54302e25842d"], ["LIMIT", 1]]
814
- TRANSACTION (1.7ms) SAVEPOINT active_record_1
815
- 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", "58875123-a490-4157-baef-54302e25842d"], ["subscription_group_id", "cd9ccdf3-1004-4616-8444-68c7aadec464"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"58875123-a490-4157-baef-54302e25842d\",\n subscriptionGroupId: \"cd9ccdf3-1004-4616-8444-68c7aadec464\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:47:10.722345"], ["updated_at", "2022-04-13 18:47:10.722345"]]
816
- TRANSACTION (2.8ms) RELEASE SAVEPOINT active_record_1
817
-  (1.9ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
818
- NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "58875123-a490-4157-baef-54302e25842d"], ["LIMIT", 1]]
819
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
820
- 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", "2022-04-13 18:47:10.735190"], ["id", "58875123-a490-4157-baef-54302e25842d"]]
821
- TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
822
- 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"]]
823
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "58875123-a490-4157-baef-54302e25842d"], ["LIMIT", 1]]
2023
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.7ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "3b996d71-2d07-4302-9439-3589207837df"], ["LIMIT", 1]]
2024
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
2025
+ 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: \"3b996d71-2d07-4302-9439-3589207837df\",\n subscriptionGroupId: \"31785565-8e2a-4a7c-a893-8d17c5646eee\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-08-16 15:24:30.922735"], ["id", "3b996d71-2d07-4302-9439-3589207837df"]]
2026
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
2027
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
824
2028
  TRANSACTION (2.0ms) ROLLBACK
825
- TRANSACTION (2.4ms) BEGIN
2029
+ TRANSACTION (1.3ms) BEGIN
826
2030
   (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
827
- NulogyMessageBusProducer::SelfServeSubscription Load (2.0ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d4d0edaa-4466-42c3-b652-825a9e44d726"], ["LIMIT", 1]]
2031
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.5ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ec80c1e5-a164-49f3-bfb4-ad3c946fbe61"], ["LIMIT", 1]]
2032
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
2033
+ 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", "ec80c1e5-a164-49f3-bfb4-ad3c946fbe61"], ["subscription_group_id", "ec0beda7-ed98-4586-ad37-e897a0e29c4b"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ec80c1e5-a164-49f3-bfb4-ad3c946fbe61\",\n subscriptionGroupId: \"ec0beda7-ed98-4586-ad37-e897a0e29c4b\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.942093"], ["updated_at", "2022-08-16 15:24:30.942093"]]
2034
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
2035
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2036
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ec80c1e5-a164-49f3-bfb4-ad3c946fbe61"], ["LIMIT", 1]]
2037
+ TRANSACTION (1.0ms) SAVEPOINT active_record_1
2038
+ 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: \"ec80c1e5-a164-49f3-bfb4-ad3c946fbe61\",\n subscriptionGroupId: \"ec0beda7-ed98-4586-ad37-e897a0e29c4b\",\n topicName: \"some_topic\"\n ) {\n foo {\n a_field_that_does_not_exist\n}\n\n }\n}\n"], ["updated_at", "2022-08-16 15:24:30.949549"], ["id", "ec80c1e5-a164-49f3-bfb4-ad3c946fbe61"]]
2039
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
2040
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
2041
+ TRANSACTION (1.3ms) ROLLBACK
2042
+ TRANSACTION (1.1ms) BEGIN
2043
+  (1.1ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2044
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c665646b-7710-4bcb-a731-cb1804439ce8"], ["LIMIT", 1]]
828
2045
  TRANSACTION (1.4ms) SAVEPOINT active_record_1
829
- 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", "d4d0edaa-4466-42c3-b652-825a9e44d726"], ["subscription_group_id", "8d817152-081a-4798-bcfa-66fcf022c3a9"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"d4d0edaa-4466-42c3-b652-825a9e44d726\",\n subscriptionGroupId: \"8d817152-081a-4798-bcfa-66fcf022c3a9\",\n topicName: \"some_topic\"\n ) {\n foo {\n contextData\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 18:47:10.768869"], ["updated_at", "2022-04-13 18:47:10.768869"]]
830
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
2046
+ 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", "c665646b-7710-4bcb-a731-cb1804439ce8"], ["subscription_group_id", "e2cd9b21-ff7b-4f6a-9ea5-5cca001499ae"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"c665646b-7710-4bcb-a731-cb1804439ce8\",\n subscriptionGroupId: \"e2cd9b21-ff7b-4f6a-9ea5-5cca001499ae\",\n topicName: \"some_topic\"\n ) {\n foo {\n id\n}\n\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:30.965918"], ["updated_at", "2022-08-16 15:24:30.965918"]]
2047
+ TRANSACTION (1.5ms) RELEASE SAVEPOINT active_record_1
2048
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2049
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "c665646b-7710-4bcb-a731-cb1804439ce8"], ["LIMIT", 1]]
2050
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions"
2051
+ TRANSACTION (1.1ms) ROLLBACK
2052
+ TRANSACTION (1.4ms) BEGIN
2053
+  (4.5ms) TRUNCATE schema_migrations
2054
+  (4.0ms) TRUNCATE ar_internal_metadata
2055
+  (5.3ms) TRUNCATE message_bus_subscription_events
2056
+  (5.1ms) TRUNCATE message_bus_subscriptions
2057
+  (5.9ms) TRUNCATE message_bus_subscription_events
2058
+  (6.2ms) TRUNCATE message_bus_subscriptions
2059
+ TRANSACTION (5.6ms) ROLLBACK
2060
+ TRANSACTION (1.1ms) BEGIN
831
2061
   (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
832
- NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d4d0edaa-4466-42c3-b652-825a9e44d726"], ["LIMIT", 1]]
833
- NulogyMessageBusProducer::SelfServeSubscription Load (2.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"]]
834
- NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d4d0edaa-4466-42c3-b652-825a9e44d726"], ["LIMIT", 1]]
835
- NulogyMessageBusProducer::SelfServeSubscription Load (2.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "d4d0edaa-4466-42c3-b652-825a9e44d726"], ["LIMIT", 1]]
836
- NulogyMessageBusProducer::SubscriptionEvent Load (1.9ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."id" = $1 LIMIT $2 [["id", "b1a03bf1-4a59-4f1c-977a-e05f70ae5cc0"], ["LIMIT", 1]]
837
- TRANSACTION (3.4ms) SAVEPOINT active_record_1
838
- NulogyMessageBusProducer::SubscriptionEvent Create (2.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", "b1a03bf1-4a59-4f1c-977a-e05f70ae5cc0"], ["subscription_id", "d4d0edaa-4466-42c3-b652-825a9e44d726"], ["partition_key", "8d817152-081a-4798-bcfa-66fcf022c3a9,707313a3-a93a-470b-9c2d-9c7b0648e3b1"], ["topic_name", "some_topic"], ["company_uuid", "707313a3-a93a-470b-9c2d-9c7b0648e3b1"], ["event_json", "{\"testCreated\":{\"foo\":{\"contextData\":\"some contextual information\"}}}"], ["created_at", "2022-04-13 19:05:39.644488"]]
839
- TRANSACTION (2.6ms) RELEASE SAVEPOINT active_record_1
840
- NulogyMessageBusProducer::SubscriptionEvent Load (2.6ms) SELECT "message_bus_subscription_events".* FROM "message_bus_subscription_events" WHERE "message_bus_subscription_events"."subscription_id" = $1 LIMIT $2 [["subscription_id", "d4d0edaa-4466-42c3-b652-825a9e44d726"], ["LIMIT", 1]]
841
- TRANSACTION (2.2ms) ROLLBACK
842
- TRANSACTION (2.0ms) BEGIN
843
-  (4.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
844
- NulogyMessageBusProducer::SelfServeSubscription Load (2.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0f21569e-9fe8-466c-848f-9f7a58254410"], ["LIMIT", 1]]
845
- TRANSACTION (1.8ms) SAVEPOINT active_record_1
846
- 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", "0f21569e-9fe8-466c-848f-9f7a58254410"], ["subscription_group_id", "5e014222-6674-49e4-a7aa-f3177ee96632"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0f21569e-9fe8-466c-848f-9f7a58254410\",\n subscriptionGroupId: \"5e014222-6674-49e4-a7aa-f3177ee96632\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 19:05:39.693449"], ["updated_at", "2022-04-13 19:05:39.693449"]]
847
- TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
848
-  (2.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
849
- NulogyMessageBusProducer::SelfServeSubscription Load (3.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0f21569e-9fe8-466c-848f-9f7a58254410"], ["LIMIT", 1]]
850
-  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
851
- NulogyMessageBusProducer::SelfServeSubscription Load (1.8ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "35cd57b0-390d-406f-9d93-42300711c526"], ["LIMIT", 1]]
2062
+ NulogyMessageBusProducer::SelfServeSubscription Load (2.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ba24b341-daf7-4f83-893c-1fa79ec9a020"], ["LIMIT", 1]]
2063
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
2064
+ 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", "ba24b341-daf7-4f83-893c-1fa79ec9a020"], ["subscription_group_id", "090e8b16-7689-4376-94b9-e56a46ea05b3"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"ba24b341-daf7-4f83-893c-1fa79ec9a020\",\n subscriptionGroupId: \"090e8b16-7689-4376-94b9-e56a46ea05b3\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:32.030792"], ["updated_at", "2022-08-16 15:24:32.030792"]]
2065
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
2066
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2067
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "ba24b341-daf7-4f83-893c-1fa79ec9a020"], ["LIMIT", 1]]
2068
+ 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"]]
2069
+ TRANSACTION (1.6ms) ROLLBACK
2070
+ TRANSACTION (1.1ms) BEGIN
2071
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2072
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "92972630-44a2-47a1-990c-e08cceeb3b94"], ["LIMIT", 1]]
852
2073
  TRANSACTION (1.4ms) SAVEPOINT active_record_1
853
- 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", "35cd57b0-390d-406f-9d93-42300711c526"], ["subscription_group_id", "b9369dcd-9f2a-41a4-bd42-e4cdfc971c83"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"35cd57b0-390d-406f-9d93-42300711c526\",\n subscriptionGroupId: \"b9369dcd-9f2a-41a4-bd42-e4cdfc971c83\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-04-13 19:05:39.715548"], ["updated_at", "2022-04-13 19:05:39.715548"]]
2074
+ 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", "92972630-44a2-47a1-990c-e08cceeb3b94"], ["subscription_group_id", "88bf8aa0-c430-4352-835b-3806602bf92e"], ["event_type", "testCreated"], ["topic_name", "self-served"], ["query", "subscription {\n testCreated (\n subscriptionId: \"92972630-44a2-47a1-990c-e08cceeb3b94\",\n subscriptionGroupId: \"88bf8aa0-c430-4352-835b-3806602bf92e\",\n topicName: \"self-served\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:32.060055"], ["updated_at", "2022-08-16 15:24:32.060055"]]
2075
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
2076
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2077
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "92972630-44a2-47a1-990c-e08cceeb3b94"], ["LIMIT", 1]]
2078
+ 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"]]
2079
+ TRANSACTION (1.1ms) ROLLBACK
2080
+ TRANSACTION (1.2ms) BEGIN
2081
+  (1.5ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2082
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0e3e915d-1627-4646-9d4f-3b0348203299"], ["LIMIT", 1]]
2083
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
2084
+ 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", "0e3e915d-1627-4646-9d4f-3b0348203299"], ["subscription_group_id", "5db6027f-e582-4e81-abe0-d5d8cdde6701"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"0e3e915d-1627-4646-9d4f-3b0348203299\",\n subscriptionGroupId: \"5db6027f-e582-4e81-abe0-d5d8cdde6701\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:32.082502"], ["updated_at", "2022-08-16 15:24:32.082502"]]
854
2085
  TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
2086
+  (2.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2087
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.1ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "0e3e915d-1627-4646-9d4f-3b0348203299"], ["LIMIT", 1]]
855
2088
   (1.4ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
856
- NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "35cd57b0-390d-406f-9d93-42300711c526"], ["LIMIT", 1]]
857
-  (1.4ms) SELECT COUNT(*) FROM "message_bus_subscription_events"
858
- 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"]]
859
- NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "35cd57b0-390d-406f-9d93-42300711c526"], ["LIMIT", 1]]
2089
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.4ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b9365aaf-ff66-4dc3-b9c4-287d4ddebb07"], ["LIMIT", 1]]
2090
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
2091
+ 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", "b9365aaf-ff66-4dc3-b9c4-287d4ddebb07"], ["subscription_group_id", "93bec459-b02e-4ebf-abaf-3bf53975d8d9"], ["event_type", "testCreated"], ["topic_name", "some_topic"], ["query", "subscription {\n testCreated (\n subscriptionId: \"b9365aaf-ff66-4dc3-b9c4-287d4ddebb07\",\n subscriptionGroupId: \"93bec459-b02e-4ebf-abaf-3bf53975d8d9\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:32.097746"], ["updated_at", "2022-08-16 15:24:32.097746"]]
2092
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
2093
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2094
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "b9365aaf-ff66-4dc3-b9c4-287d4ddebb07"], ["LIMIT", 1]]
2095
+  (1.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2096
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "379fedc6-3384-482f-b0db-28d7dd570895"], ["LIMIT", 1]]
2097
+ TRANSACTION (1.2ms) SAVEPOINT active_record_1
2098
+ 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", "379fedc6-3384-482f-b0db-28d7dd570895"], ["subscription_group_id", "6a884d3b-5d94-4191-bb1d-31928da14ddd"], ["event_type", "testUpdated"], ["topic_name", "some_topic"], ["query", "subscription {\n testUpdated (\n subscriptionId: \"379fedc6-3384-482f-b0db-28d7dd570895\",\n subscriptionGroupId: \"6a884d3b-5d94-4191-bb1d-31928da14ddd\",\n topicName: \"some_topic\"\n ) {\n foo { id }\n }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:32.110612"], ["updated_at", "2022-08-16 15:24:32.110612"]]
2099
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
2100
+  (1.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
2101
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.3ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "379fedc6-3384-482f-b0db-28d7dd570895"], ["LIMIT", 1]]
2102
+ 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"]]
2103
+ TRANSACTION (1.3ms) ROLLBACK
2104
+ TRANSACTION (1.8ms) BEGIN
2105
+ 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"]]
2106
+ TRANSACTION (1.4ms) ROLLBACK
2107
+ TRANSACTION (1.1ms) BEGIN
2108
+ NulogyMessageBusProducer::SelfServeSubscription Load (1.2ms) SELECT "message_bus_subscriptions".* FROM "message_bus_subscriptions" WHERE "message_bus_subscriptions"."id" = $1 LIMIT $2 [["id", "fd0d0c2d-c1ad-4d84-8a9c-8532565a168b"], ["LIMIT", 1]]
2109
+ TRANSACTION (1.3ms) SAVEPOINT active_record_1
2110
+ 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", "fd0d0c2d-c1ad-4d84-8a9c-8532565a168b"], ["subscription_group_id", "ab3b1e63-da44-409d-85cb-2d76506dec85"], ["event_type", "testCreated"], ["topic_name", "test_topic"], ["query", "subscription {\n testCreated(\n subscriptionId: \"fd0d0c2d-c1ad-4d84-8a9c-8532565a168b\",\n subscriptionGroupId: \"ab3b1e63-da44-409d-85cb-2d76506dec85\",\n topicName: \"test_topic\"\n ) { foo { id } }\n}\n"], ["schema_key", "test"], ["created_at", "2022-08-16 15:24:32.140014"], ["updated_at", "2022-08-16 15:24:32.140014"]]
2111
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
2112
+ TRANSACTION (2.1ms) ROLLBACK