From 166661dd7f6818c3a7f5624896d2bb3d0c637788 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Mon, 30 Oct 2023 17:51:07 -0700 Subject: [PATCH] Remove arbitrary limit of only supporting 10 custom columns --- client/lib/lib.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/lib/lib.go b/client/lib/lib.go index 597eb00..3f5a559 100644 --- a/client/lib/lib.go +++ b/client/lib/lib.go @@ -943,8 +943,7 @@ func getAllCustomColumnNames(ctx context.Context) ([]string, error) { SELECT DISTINCT json_extract(value, '$.name') as cc_name FROM history_entries JOIN json_each(custom_columns) - WHERE value IS NOT NULL - LIMIT 10` + WHERE value IS NOT NULL` return db.Raw(query).Rows() }) if err != nil {