From 4af0046a09a75028371421b5b7f6a51da0e8bade Mon Sep 17 00:00:00 2001 From: Silvan Date: Thu, 2 Sep 2021 11:06:16 +0200 Subject: [PATCH] fix(database): add index for aggregate type (#2304) --- migrations/cockroach/V1.68__agg_type_idx.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 migrations/cockroach/V1.68__agg_type_idx.sql diff --git a/migrations/cockroach/V1.68__agg_type_idx.sql b/migrations/cockroach/V1.68__agg_type_idx.sql new file mode 100644 index 000000000..556b415c3 --- /dev/null +++ b/migrations/cockroach/V1.68__agg_type_idx.sql @@ -0,0 +1 @@ +CREATE INDEX agg_type ON eventstore.events (aggregate_type); \ No newline at end of file