mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-07 06:59:59 +08:00
fix: fix the bug of the numeric/decimal data type in pg (#4686)
This commit is contained in:
@@ -9,7 +9,8 @@ import (
|
||||
|
||||
var p2m = map[string]string{
|
||||
"int8": "bigint",
|
||||
"numeric": "bigint",
|
||||
"numeric": "double",
|
||||
"decimal": "double",
|
||||
"float8": "double",
|
||||
"float4": "float",
|
||||
"int2": "smallint",
|
||||
|
||||
Reference in New Issue
Block a user