EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
schema
Yuri Kuznetsov3244347b71a2
diff --git a/schema/metadata/entityDefs.json b/schema/metadata/entityDefs.jsonindex 71bf02649b..def8b7e086 100644--- a/schema/metadata/entityDefs.json+++ b/schema/metadata/entityDefs.json@@ -1182,16 +1182,38 @@"type": "object","properties": {"type": {- "enum": ["varchar", "int", "float", "bool", "foreignId"]+ "enum": ["varchar", "int", "float", "bool", "foreignId"],+ "description": "A column type."},"maxLength": {- "type": "integer"+ "type": "integer",+ "default": "Max length."},"default": {- "type": ["integer", "string", "boolean", "null", "number"]+ "type": ["integer", "string", "boolean", "null", "number"],+ "description": "A default value."},"dbType": {- "type": "string"+ "type": "string",+ "description": "Overrides the type of the DB column.",+ "anyOf": [+ {"type": "string"},+ {+ "enum": [+ "string",+ "decimal",+ "float",+ "smallint",+ "integer",+ "bigint",+ "text",+ "date",+ "datetime",+ "boolean",+ "binary"+ ]+ }+ ]}}}