mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-14 02:10:00 +08:00
fear(model);add uuid:varchar to p2m (#5022)
Co-authored-by: hoshi <zheng.hao1@outlook.com>
This commit is contained in:
@@ -14,6 +14,7 @@ var p2m = map[string]string{
|
|||||||
"int2": "smallint",
|
"int2": "smallint",
|
||||||
"int4": "integer",
|
"int4": "integer",
|
||||||
"timestamptz": "timestamp",
|
"timestamptz": "timestamp",
|
||||||
|
"uuid": "varchar",
|
||||||
}
|
}
|
||||||
|
|
||||||
// PostgreSqlModel gets table information from information_schema、pg_catalog
|
// PostgreSqlModel gets table information from information_schema、pg_catalog
|
||||||
|
|||||||
Reference in New Issue
Block a user