nulogy_message_bus_producer 4.0.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,859 @@
1
+ TRANSACTION (2.3ms) BEGIN
2
+ TRANSACTION (1.9ms) ROLLBACK
3
+ TRANSACTION (1.6ms) BEGIN
4
+ TRANSACTION (3.3ms) ROLLBACK
5
+ TRANSACTION (3.1ms) BEGIN
6
+ TRANSACTION (2.0ms) ROLLBACK
7
+ TRANSACTION (1.6ms) BEGIN
8
+ TRANSACTION (2.3ms) ROLLBACK
9
+ TRANSACTION (2.2ms) BEGIN
10
+ TRANSACTION (2.2ms) ROLLBACK
11
+ TRANSACTION (15.7ms) BEGIN
12
+ TRANSACTION (3.2ms) ROLLBACK
13
+ TRANSACTION (3.0ms) BEGIN
14
+ TRANSACTION (2.1ms) ROLLBACK
15
+ TRANSACTION (3.5ms) BEGIN
16
+ TRANSACTION (3.1ms) ROLLBACK
17
+ TRANSACTION (2.1ms) BEGIN
18
+ TRANSACTION (1.9ms) ROLLBACK
19
+ TRANSACTION (1.9ms) BEGIN
20
+ TRANSACTION (1.6ms) ROLLBACK
21
+ TRANSACTION (2.9ms) BEGIN
22
+ TRANSACTION (3.1ms) ROLLBACK
23
+ TRANSACTION (2.3ms) BEGIN
24
+ 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
30
+ 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
+ TRANSACTION (2.5ms) BEGIN
36
+ TRANSACTION (2.6ms) ROLLBACK
37
+ TRANSACTION (2.9ms) BEGIN
38
+ 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
55
+ 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
+ TRANSACTION (1.7ms) BEGIN
63
+  (2.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
64
+ TRANSACTION (1.8ms) ROLLBACK
65
+ TRANSACTION (2.8ms) BEGIN
66
+  (2.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
67
+ TRANSACTION (2.6ms) ROLLBACK
68
+ TRANSACTION (2.0ms) BEGIN
69
+  (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"
73
+ TRANSACTION (2.2ms) ROLLBACK
74
+ TRANSACTION (1.7ms) BEGIN
75
+  (1.8ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
76
+ TRANSACTION (3.7ms) ROLLBACK
77
+ TRANSACTION (2.9ms) BEGIN
78
+  (3.6ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
79
+ TRANSACTION (2.1ms) ROLLBACK
80
+ TRANSACTION (1.4ms) BEGIN
81
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
82
+ TRANSACTION (3.8ms) ROLLBACK
83
+ TRANSACTION (2.1ms) BEGIN
84
+  (1.7ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
85
+ TRANSACTION (1.6ms) ROLLBACK
86
+ TRANSACTION (2.5ms) BEGIN
87
+  (3.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
88
+ TRANSACTION (2.8ms) ROLLBACK
89
+ TRANSACTION (3.9ms) BEGIN
90
+ TRANSACTION (3.6ms) ROLLBACK
91
+ TRANSACTION (1.8ms) BEGIN
92
+  (4.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
93
+ TRANSACTION (2.7ms) ROLLBACK
94
+ TRANSACTION (1.6ms) BEGIN
95
+  (3.0ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
96
+ TRANSACTION (3.0ms) ROLLBACK
97
+ TRANSACTION (1.9ms) BEGIN
98
+  (4.3ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
99
+ TRANSACTION (3.8ms) ROLLBACK
100
+ TRANSACTION (1.8ms) BEGIN
101
+  (4.2ms) SELECT COUNT(*) FROM "message_bus_subscriptions"
102
+ TRANSACTION (1.9ms) BEGIN
103
+  (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]]
105
+ 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"]]
107
+ 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]]
128
+ 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"]]
130
+ 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
142
+  (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]]
151
+ 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
154
+  (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"]]
160
+ 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
171
+  (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
176
+  (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"]]
184
+ TRANSACTION (1.2ms) ROLLBACK
185
+ 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
200
+  (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]]
221
+ 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"]]
223
+ 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"]]
231
+ 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
235
+ 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
241
+  (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"]]
247
+ 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"
266
+ 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]]
270
+ 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"]]
281
+ 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"]]
298
+ 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
309
+ 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"]]
328
+ 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"]]
333
+ 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"]]
364
+ TRANSACTION (1.7ms) RELEASE SAVEPOINT active_record_1
365
+  (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
375
+  (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]]
377
+ 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"]]
379
+ 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
+  (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]]
412
+ 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"]]
414
+ 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
432
+ 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]]
461
+ 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]]
467
+ 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"]]
469
+ 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
474
+ TRANSACTION (1.1ms) BEGIN
475
+  (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"]]
487
+ 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]]
490
+ TRANSACTION (1.2ms) ROLLBACK
491
+ 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"]]
522
+ 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"]]
530
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
531
+  (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"]]
553
+ 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"]]
562
+ 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
+ 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]]
593
+ 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"]]
595
+ 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]]
598
+ 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]]
601
+ 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"]]
624
+ 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
628
+ 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"]]
633
+ 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]]
636
+ 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"]]
638
+ 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]]
645
+ 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]]
650
+ 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]]
685
+ 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]]
690
+ 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"]]
692
+ 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
697
+  (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"]]
701
+ TRANSACTION (1.1ms) RELEASE SAVEPOINT active_record_1
702
+  (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]]
704
+ 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]]
718
+ 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"]]
729
+ TRANSACTION (1.4ms) RELEASE SAVEPOINT active_record_1
730
+  (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"]]
736
+ 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"
740
+ 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"]]
746
+ 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]]
750
+ 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"]]
752
+ 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
756
+ 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
+  (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"]]
788
+ 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]]
791
+ 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"]]
793
+ TRANSACTION (1.3ms) RELEASE SAVEPOINT active_record_1
794
+ 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]]
796
+ 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
803
+  (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]]
824
+ TRANSACTION (2.0ms) ROLLBACK
825
+ TRANSACTION (2.4ms) BEGIN
826
+  (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]]
828
+ 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
831
+  (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]]
852
+ 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"]]
854
+ TRANSACTION (1.2ms) RELEASE SAVEPOINT active_record_1
855
+  (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]]