optimize grpc generation env check (#900)
* optimize grpc generation env check * optimize grpc generation env check * format code * fix postgresql data type convert error Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
This commit is contained in:
@@ -8,12 +8,13 @@ import (
|
||||
)
|
||||
|
||||
var p2m = map[string]string{
|
||||
"int8": "bigint",
|
||||
"numeric": "bigint",
|
||||
"float8": "double",
|
||||
"float4": "float",
|
||||
"int2": "smallint",
|
||||
"int4": "integer",
|
||||
"int8": "bigint",
|
||||
"numeric": "bigint",
|
||||
"float8": "double",
|
||||
"float4": "float",
|
||||
"int2": "smallint",
|
||||
"int4": "integer",
|
||||
"timestamptz": "timestamp",
|
||||
}
|
||||
|
||||
// PostgreSqlModel gets table information from information_schema、pg_catalog
|
||||
|
||||
Reference in New Issue
Block a user