mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-12-24 10:40:55 +08:00
fix: match postgresql type timestamptz
This commit is contained in:
@@ -80,7 +80,7 @@ func (field *PGField) getMysqlType() string {
|
||||
}
|
||||
case "text":
|
||||
return "text"
|
||||
case "timestamp":
|
||||
case "timestamp", "timestamptz":
|
||||
return "timestamp"
|
||||
case "date":
|
||||
return "date"
|
||||
|
||||
Reference in New Issue
Block a user