Correctly parsing the bit type in ms-sql to boolean.

This commit is contained in:
mike12345567 2022-03-03 17:20:21 +00:00
parent 31f3956bfb
commit 9f6635045a
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ const SQL_TYPE_MAP = {
timestamp: FieldTypes.DATETIME, timestamp: FieldTypes.DATETIME,
time: FieldTypes.DATETIME, time: FieldTypes.DATETIME,
boolean: FieldTypes.BOOLEAN, boolean: FieldTypes.BOOLEAN,
bit: FieldTypes.BOOLEAN,
json: FieldTypes.JSON, json: FieldTypes.JSON,
date: FieldTypes.DATETIME, date: FieldTypes.DATETIME,
blob: FieldTypes.LONGFORM, blob: FieldTypes.LONGFORM,