From 97f06d03d34367e93472978d7dc4dcaf3d597bba Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Tue, 26 Sep 2023 16:09:14 +0800 Subject: [PATCH] refactor: view collection support jsonb (#2719) --- packages/core/client/src/collection-manager/interfaces/json.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/collection-manager/interfaces/json.tsx b/packages/core/client/src/collection-manager/interfaces/json.tsx index 6cc4a3094..5963b5b0e 100644 --- a/packages/core/client/src/collection-manager/interfaces/json.tsx +++ b/packages/core/client/src/collection-manager/interfaces/json.tsx @@ -41,7 +41,7 @@ export const json: IField = { default: null, }, }, - availableTypes: ['json', 'array'], + availableTypes: ['json', 'array', 'jsonb'], hasDefaultValue: true, properties: { ...defaultProps,