Skip to content

Commit db0887c

Browse files
committed
Add case for time datatype
1 parent 7ec14c7 commit db0887c

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
@@ -361,6 +361,9 @@ function sqlTypeCast(type) {
361361
case 'datetime':
362362
return 'DATETIME';
363363

364+
case 'time':
365+
return 'TIME';
366+
364367
default:
365368
console.error("Unregistered type given: " + type);
366369
return "TEXT";

0 commit comments

Comments
 (0)