upd(crm): type spec update
This commit is contained in:
@@ -51,14 +51,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ModuleContentRow",
|
||||
"name": "Content",
|
||||
"imports": [
|
||||
"github.com/jmoiron/sqlx/types"
|
||||
],
|
||||
"fields": [
|
||||
{ "name": "ID", "type": "uint64", "tag": "db:\"id\"" },
|
||||
{ "name": "ModuleID", "type": "uint64", "tag": "db:\"module_id\"" },
|
||||
{ "name": "Fields", "type": "types.JSONText", "tag": "db:\"address\"", "complex": true }
|
||||
{ "name": "ID", "type": "uint64" },
|
||||
{ "name": "ModuleID", "type": "uint64" },
|
||||
{ "name": "Fields", "type": "types.JSONText", "db": "json", "complex": true }
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
@@ -21,25 +21,23 @@
|
||||
"fields": [
|
||||
{
|
||||
"name": "ID",
|
||||
"tag": "db:\"id\"",
|
||||
"type": "uint64"
|
||||
},
|
||||
{
|
||||
"name": "ModuleID",
|
||||
"tag": "db:\"module_id\"",
|
||||
"type": "uint64"
|
||||
},
|
||||
{
|
||||
"complex": true,
|
||||
"db": "json",
|
||||
"name": "Fields",
|
||||
"tag": "db:\"address\"",
|
||||
"type": "types.JSONText"
|
||||
}
|
||||
],
|
||||
"imports": [
|
||||
"github.com/jmoiron/sqlx/types"
|
||||
],
|
||||
"name": "ModuleContentRow"
|
||||
"name": "Content"
|
||||
}
|
||||
],
|
||||
"Parameters": null,
|
||||
|
||||
Reference in New Issue
Block a user