Skip to content

Commit 0d19b65

Browse files
Merge pull request balderdashy#160 from gigonaut/master
to address binary type issue.
2 parents 5d11a01 + 9d43112 commit 0d19b65

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)