upd(crm spec): composite jsontext fields on module
This commit is contained in:
@@ -45,9 +45,13 @@
|
||||
"struct": [
|
||||
{
|
||||
"name": "Module",
|
||||
"imports": [
|
||||
"github.com/jmoiron/sqlx/types"
|
||||
],
|
||||
"fields": [
|
||||
{ "name": "ID", "type": "uint64" },
|
||||
{ "name": "Name", "type": "string" }
|
||||
{ "name": "Name", "type": "string" },
|
||||
{ "name": "Fields", "type": "types.JSONText", "db": "json", "complex": true }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -13,8 +13,17 @@
|
||||
{
|
||||
"name": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"complex": true,
|
||||
"db": "json",
|
||||
"name": "Fields",
|
||||
"type": "types.JSONText"
|
||||
}
|
||||
],
|
||||
"imports": [
|
||||
"github.com/jmoiron/sqlx/types"
|
||||
],
|
||||
"name": "Module"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user