nulogy_message_bus_producer 5.0.1.alpha → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6469231e65ac9191158b50c6f205a8ec0abd858ccf6f412ddf4d2e58f3a1f766
4
- data.tar.gz: 4c24a505738d5fde9383ff979bf308507975631bef8d0e8b838b74afc865b024
3
+ metadata.gz: 7accbce03180375451026a5f27101d51757eb2a60c39a7455828f34b18587321
4
+ data.tar.gz: c6ce50203bd2611c19266620cecc8c30ea8e7cfcd53097a9d2231e2a252c2719
5
5
  SHA512:
6
- metadata.gz: 41aa06fed83395f568271c9b17f46fbad1049be4eb9921150b57ee0fa835d24b139baa54ebe2115fb07beae321cba30a01bc7bfc61cedfbc5c64bf047a802b8b
7
- data.tar.gz: '098f623e6aa24b1734667c438c2d106b16cb842877990b4a4a0592435cf262deb6e71f744cf204553903f3df7a10e0ff5e860a9fea345d32356010316da577f5'
6
+ metadata.gz: cb6d3b9cc0d606b6626f07c455edba2ed5ef783b6298e182b36b4428673960c17e5383a6a3fc67f4c90a971fac957c9945525c33ed80ff90b4becf59b805ff3c
7
+ data.tar.gz: f0c326b768b5b2c47ca1c4ade5b86438b8fcbd0b7008eacce8dbf1fd22ef1b4e2f8c1790f166c8987808712fcf1dab33eeb8cb33b68d50b7878d802992b6ff35
@@ -1,3 +1,3 @@
1
1
  module NulogyMessageBusProducer
2
- VERSION = "5.0.1.alpha".freeze
2
+ VERSION = "5.0.1".freeze
3
3
  end
@@ -1,110 +1,136 @@
1
-  (112.4ms) CREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'
2
-  (1.7ms) CREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'
3
- SQL (3.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
4
- SQL (7.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
5
-  (2.0ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
6
-  (10.2ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
7
-  (4.3ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
8
-  (1.4ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
9
-  (5.8ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
10
-  (3.9ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
11
-  (6.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
12
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
13
-  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES (20201005164116)
14
-  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES
1
+  (374.4ms) CREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'
2
+  (4.0ms) CREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'
3
+ SQL (12.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
4
+ SQL (23.5ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
5
+  (7.2ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
6
+  (15.0ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
7
+  (7.6ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
8
+  (4.7ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
9
+  (11.0ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
10
+  (4.2ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
11
+  (11.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
12
+  (7.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
13
+  (6.0ms) INSERT INTO "schema_migrations" (version) VALUES (20201005164116)
14
+  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES
15
15
  (20200611150212),
16
16
  (20201005150212);
17
17
 
18
18
  
19
-  (6.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
20
- ActiveRecord::InternalMetadata Load (1.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
21
-  (1.7ms) BEGIN
22
- ActiveRecord::InternalMetadata Create (3.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2021-02-24 16:55:39.029462"], ["updated_at", "2021-02-24 16:55:39.029462"]]
23
-  (1.8ms) COMMIT
24
- ActiveRecord::InternalMetadata Load (1.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
25
-  (2.7ms) BEGIN
26
-  (1.7ms) COMMIT
27
- SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
28
- SQL (5.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
29
-  (2.8ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
30
-  (10.6ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
31
-  (4.0ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
32
-  (2.5ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
33
-  (5.9ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
34
-  (5.2ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
35
-  (6.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
36
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37
-  (2.6ms) INSERT INTO "schema_migrations" (version) VALUES (20201005164116)
38
-  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES
19
+  (13.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
20
+ ActiveRecord::InternalMetadata Load (3.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
21
+ TRANSACTION (3.1ms) BEGIN
22
+ ActiveRecord::InternalMetadata Create (4.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2022-04-05 19:16:00.147532"], ["updated_at", "2022-04-05 19:16:00.147532"]]
23
+ TRANSACTION (3.7ms) COMMIT
24
+ ActiveRecord::InternalMetadata Load (4.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
25
+ ActiveRecord::InternalMetadata Load (2.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
26
+ TRANSACTION (2.4ms) BEGIN
27
+ ActiveRecord::InternalMetadata Create (2.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "2d5bee88577a387c3beb2618b50260b1d5b2a437"], ["created_at", "2022-04-05 19:16:00.179001"], ["updated_at", "2022-04-05 19:16:00.179001"]]
28
+ TRANSACTION (2.7ms) COMMIT
29
+ SQL (5.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
30
+ SQL (11.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
31
+  (3.3ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
32
+  (18.9ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
33
+  (5.8ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
34
+  (3.0ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
35
+  (10.6ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
36
+  (6.1ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
37
+  (11.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
38
+  (8.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
39
+  (11.3ms) INSERT INTO "schema_migrations" (version) VALUES (20201005164116)
40
+  (7.0ms) INSERT INTO "schema_migrations" (version) VALUES
39
41
  (20200611150212),
40
42
  (20201005150212);
41
43
 
42
44
  
43
-  (5.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
44
- ActiveRecord::InternalMetadata Load (1.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
45
-  (1.2ms) BEGIN
46
- ActiveRecord::InternalMetadata Create (2.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2021-02-24 16:55:39.212380"], ["updated_at", "2021-02-24 16:55:39.212380"]]
47
-  (1.9ms) COMMIT
48
- ActiveRecord::InternalMetadata Load (1.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
49
-  (1.2ms) BEGIN
50
- ActiveRecord::InternalMetadata Update (1.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2021-02-24 16:55:39.221998"], ["key", "environment"]]
51
-  (1.7ms) COMMIT
52
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
53
-  (210.1ms) CREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'
54
-  (3.0ms) CREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'
55
- SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
56
- SQL (6.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
57
-  (2.1ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
58
-  (11.7ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
59
-  (4.0ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
60
-  (1.7ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
61
-  (6.1ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
45
+  (16.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
46
+ ActiveRecord::InternalMetadata Load (5.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
47
+ TRANSACTION (3.6ms) BEGIN
48
+ ActiveRecord::InternalMetadata Create (2.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2022-04-05 19:16:00.457036"], ["updated_at", "2022-04-05 19:16:00.457036"]]
49
+ TRANSACTION (2.6ms) COMMIT
50
+ ActiveRecord::InternalMetadata Load (4.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
51
+ TRANSACTION (2.0ms) BEGIN
52
+ ActiveRecord::InternalMetadata Update (5.8ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2022-04-05 19:16:00.481743"], ["key", "environment"]]
53
+ TRANSACTION (3.7ms) COMMIT
54
+ ActiveRecord::InternalMetadata Load (2.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
55
+ TRANSACTION (2.4ms) BEGIN
56
+ ActiveRecord::InternalMetadata Create (2.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "2d5bee88577a387c3beb2618b50260b1d5b2a437"], ["created_at", "2022-04-05 19:16:00.503316"], ["updated_at", "2022-04-05 19:16:00.503316"]]
57
+ TRANSACTION (3.7ms) COMMIT
58
+  (2.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
59
+  (3.2ms) CREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'
60
+  (1.3ms) CREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'
61
+  (3.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
62
+  (2.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
63
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
64
+  (1.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
65
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
66
+  (1.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
67
+ SQL (4.1ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
68
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
69
+  (13.0ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
70
+  (26.3ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
71
+  (3.3ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
72
+  (3.5ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
73
+  (5.2ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
62
74
   (3.7ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
63
-  (5.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
64
75
   (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
65
-  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES (20201005164116)
66
-  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES
67
- (20200611150212),
68
- (20201005150212);
69
-
70
- 
71
-  (7.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
72
- ActiveRecord::InternalMetadata Load (2.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
76
+ ActiveRecord::InternalMetadata Load (1.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
77
+ ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
78
+ ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
79
+ SQL (2.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
80
+ SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
81
+  (10.6ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
82
+  (21.3ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
83
+  (3.2ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
84
+  (3.3ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
85
+  (5.6ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
86
+  (3.2ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
87
+  (2.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
88
+ ActiveRecord::InternalMetadata Load (3.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
73
89
  TRANSACTION (1.4ms) BEGIN
74
- ActiveRecord::InternalMetadata Create (2.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2022-06-20 20:28:29.159971"], ["updated_at", "2022-06-20 20:28:29.159971"]]
75
- TRANSACTION (2.7ms) COMMIT
76
- ActiveRecord::InternalMetadata Load (1.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
77
- ActiveRecord::InternalMetadata Load (1.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
78
- TRANSACTION (2.0ms) BEGIN
79
- ActiveRecord::InternalMetadata Create (1.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "2d5bee88577a387c3beb2618b50260b1d5b2a437"], ["created_at", "2022-06-20 20:28:29.179910"], ["updated_at", "2022-06-20 20:28:29.179910"]]
80
- TRANSACTION (2.1ms) COMMIT
81
- SQL (2.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
82
- SQL (6.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
83
-  (2.0ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
84
-  (11.1ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
85
-  (13.9ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
86
-  (2.2ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
87
-  (8.9ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
88
-  (5.4ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
89
-  (7.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
90
-  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
91
-  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES (20201005164116)
92
-  (2.6ms) INSERT INTO "schema_migrations" (version) VALUES
93
- (20200611150212),
94
- (20201005150212);
95
-
96
- 
97
-  (7.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
98
- ActiveRecord::InternalMetadata Load (1.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
99
- TRANSACTION (1.3ms) BEGIN
100
- ActiveRecord::InternalMetadata Create (1.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2022-06-20 20:28:29.336938"], ["updated_at", "2022-06-20 20:28:29.336938"]]
101
- TRANSACTION (1.9ms) COMMIT
90
+ ActiveRecord::InternalMetadata Update (3.6ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "development"], ["updated_at", "2022-08-16 14:46:29.140584"], ["key", "environment"]]
91
+ TRANSACTION (1.7ms) COMMIT
102
92
  ActiveRecord::InternalMetadata Load (1.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
103
- TRANSACTION (1.4ms) BEGIN
104
- ActiveRecord::InternalMetadata Update (1.5ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2022-06-20 20:28:29.349516"], ["key", "environment"]]
105
- TRANSACTION (1.6ms) COMMIT
106
- ActiveRecord::InternalMetadata Load (1.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
107
93
  TRANSACTION (1.2ms) BEGIN
108
- ActiveRecord::InternalMetadata Create (1.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "2d5bee88577a387c3beb2618b50260b1d5b2a437"], ["created_at", "2022-06-20 20:28:29.360140"], ["updated_at", "2022-06-20 20:28:29.360140"]]
94
+ ActiveRecord::InternalMetadata Update (1.2ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2022-08-16 14:46:29.155081"], ["key", "environment"]]
95
+ TRANSACTION (1.5ms) COMMIT
96
+ ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
97
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
98
+  (1.8ms) CREATE DATABASE "nulogy_message_bus_producer_development" ENCODING = 'utf8'
99
+  (1.4ms) CREATE DATABASE "nulogy_message_bus_producer_test" ENCODING = 'utf8'
100
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
101
+  (1.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
102
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
103
+  (1.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
104
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
105
+  (1.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
106
+ SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
107
+ SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
108
+  (3.4ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
109
+  (6.3ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
110
+  (3.6ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
111
+  (2.4ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
112
+  (5.3ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
113
+  (3.3ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
114
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
115
+ ActiveRecord::InternalMetadata Load (1.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
116
+ ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
117
+ ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
118
+ SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
119
+ SQL (1.5ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
120
+  (3.2ms) DROP TABLE IF EXISTS "message_bus_subscription_events" CASCADE
121
+  (7.4ms) CREATE TABLE "message_bus_subscription_events" ("id" uuid NOT NULL PRIMARY KEY, "subscription_id" uuid NOT NULL, "partition_key" character varying NOT NULL, "topic_name" character varying NOT NULL, "company_uuid" uuid NOT NULL, "event_json" json NOT NULL, "created_at" timestamp)
122
+  (3.2ms) CREATE INDEX "index_nulogy_mb_producer_subscription_events_on_created_at" ON "message_bus_subscription_events" ("created_at")
123
+  (3.0ms) DROP TABLE IF EXISTS "message_bus_subscriptions" CASCADE
124
+  (6.3ms) CREATE TABLE "message_bus_subscriptions" ("id" uuid NOT NULL PRIMARY KEY, "subscription_group_id" uuid NOT NULL, "event_type" character varying NOT NULL, "topic_name" character varying NOT NULL, "query" character varying NOT NULL, "schema_key" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
125
+  (3.1ms) CREATE INDEX "index_nulogy_mb_producer_subscriptions_on_event_type" ON "message_bus_subscriptions" ("event_type")
126
+  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
127
+ ActiveRecord::InternalMetadata Load (1.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
128
+ TRANSACTION (1.2ms) BEGIN
129
+ ActiveRecord::InternalMetadata Update (1.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "development"], ["updated_at", "2022-08-16 15:24:22.586895"], ["key", "environment"]]
109
130
  TRANSACTION (1.7ms) COMMIT
110
-  (2.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
131
+ ActiveRecord::InternalMetadata Load (1.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
132
+ TRANSACTION (1.2ms) BEGIN
133
+ ActiveRecord::InternalMetadata Update (1.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2022-08-16 15:24:22.598633"], ["key", "environment"]]
134
+ TRANSACTION (1.8ms) COMMIT
135
+ ActiveRecord::InternalMetadata Load (1.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
136
+  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC