From afdbf5aed7b00086074d7488bd7f701fe9a7eb18 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Mon, 11 Nov 2024 12:55:50 +0500 Subject: [PATCH] Try to fix infer type (#7148) Signed-off-by: Denis Bykhov --- server/postgres/src/utils.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/postgres/src/utils.ts b/server/postgres/src/utils.ts index e4a5679e5a..675f04adda 100644 --- a/server/postgres/src/utils.ts +++ b/server/postgres/src/utils.ts @@ -307,9 +307,6 @@ export function inferType (val: any): string { } } if (typeof val === 'object') { - if (val == null) { - return '' - } if (val instanceof Date) { return '::text' }