Skip to content

Commit 9d43112

Browse files
committed
to address binary type issue.
1 parent 5d11a01 commit 9d43112

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/sql.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,9 @@ function sqlTypeCast(attr) {
395395
case 'time':
396396
return 'TIME';
397397

398+
case 'binary':
399+
return 'BLOB';
400+
398401
default:
399402
console.error('Unregistered type given: ' + type);
400403
return 'LONGTEXT';

0 commit comments

Comments
 (0)