From 834c48cd0a8c2676012f27a85159cc08e65a2598 Mon Sep 17 00:00:00 2001 From: "Visal .In" Date: Sat, 23 Mar 2024 05:58:54 +0700 Subject: [PATCH] hotfix: case does not work --- src/lib/sql-helper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/sql-helper.ts b/src/lib/sql-helper.ts index 7ca527e8..3918cfc4 100644 --- a/src/lib/sql-helper.ts +++ b/src/lib/sql-helper.ts @@ -49,8 +49,8 @@ export function convertSqliteType( if ( type.indexOf("REAL") >= 0 || - type.indexOf("DOUBLE") || - type.indexOf("FLOAT") + type.indexOf("DOUBLE") >= 0 || + type.indexOf("FLOAT") >= 0 ) return TableColumnDataType.REAL;