3
0

upd(crm spec): composite jsontext fields on module

This commit is contained in:
Tit Petric
2018-08-15 20:30:34 +02:00
parent a2f6982387
commit ca4f10f3e5
2 changed files with 14 additions and 1 deletions
+5 -1
View File
@@ -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 }
]
},
{
+9
View File
@@ -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"
},
{