fix some foreign id fields and max-length
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
"storage": {
|
||||
"readOnly": true
|
||||
},
|
||||
"source": {
|
||||
"readOnly": true
|
||||
},
|
||||
"sourceId": {
|
||||
"readOnly": true
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
},
|
||||
"ipAddress": {
|
||||
"type": "varchar",
|
||||
"maxLength": "39"
|
||||
"maxLength": 39
|
||||
},
|
||||
"authToken": {
|
||||
"type": "link"
|
||||
|
||||
@@ -25,12 +25,10 @@
|
||||
"view": "views/attachment/fields/parent",
|
||||
"validatorClassName": "Espo\\Classes\\FieldValidators\\Attachment\\Related"
|
||||
},
|
||||
"sourceId": {
|
||||
"type": "varchar",
|
||||
"maxLength": 36,
|
||||
"source": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"disabled": true,
|
||||
"index": true
|
||||
"disabled": true
|
||||
},
|
||||
"field": {
|
||||
"type": "varchar",
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
},
|
||||
"ipAddress": {
|
||||
"type": "varchar",
|
||||
"maxLength": "45",
|
||||
"maxLength": 45,
|
||||
"readOnly": true
|
||||
},
|
||||
"createdAt": {
|
||||
@@ -55,7 +55,7 @@
|
||||
"requestMethod": {
|
||||
"type": "varchar",
|
||||
"readOnly": true,
|
||||
"maxLength": "15"
|
||||
"maxLength": 15
|
||||
},
|
||||
"authTokenIsActive": {
|
||||
"type": "foreign",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"fields": {
|
||||
"token": {
|
||||
"type": "varchar",
|
||||
"maxLength": "36",
|
||||
"maxLength": 36,
|
||||
"index": true,
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -14,12 +14,7 @@
|
||||
},
|
||||
"secret": {
|
||||
"type": "varchar",
|
||||
"maxLength": "36",
|
||||
"readOnly": true
|
||||
},
|
||||
"userId": {
|
||||
"type": "varchar",
|
||||
"maxLength": "36",
|
||||
"maxLength": 36,
|
||||
"readOnly": true
|
||||
},
|
||||
"user": {
|
||||
@@ -32,7 +27,7 @@
|
||||
},
|
||||
"ipAddress": {
|
||||
"type": "varchar",
|
||||
"maxLength": "45",
|
||||
"maxLength": 45,
|
||||
"readOnly": true
|
||||
},
|
||||
"isActive": {
|
||||
|
||||
Reference in New Issue
Block a user