Skip to content

Commit 81d903f

Browse files
M2shad0wsiddontang
authored andcommitted
#205 fix (#206)
1 parent f34f371 commit 81d903f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

river/sync.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ func (r *River) makeReqColumnData(col *schema.TableColumn, value interface{}) in
314314
if err == nil && f != nil {
315315
return f
316316
}
317-
case schema.TYPE_DATETIME:
317+
case schema.TYPE_DATETIME, schema.TYPE_TIMESTAMP:
318318
switch v := value.(type) {
319319
case string:
320320
vt, _ := time.ParseInLocation(mysql.TimeFormat, string(v), time.Local)

0 commit comments

Comments
 (0)