Skip to content

Commit d0557f8

Browse files
committed
fix: match postgresql type timestamptz
1 parent d1ede7d commit d0557f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sql2code/parser/postgresql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (field *PGField) getMysqlType() string {
8080
}
8181
case "text":
8282
return "text"
83-
case "timestamp":
83+
case "timestamp", "timestamptz":
8484
return "timestamp"
8585
case "date":
8686
return "date"

0 commit comments

Comments
 (0)