diff --git a/docs/framework/database/schema-definition.md b/docs/framework/database/schema-definition.md index 48aeb694dc85f9c91b7c6aa6808fb1050a76b38b..7c09289cc3f5b7e4e11c1f2102ad3b4a4b1e3b83 100644 --- a/docs/framework/database/schema-definition.md +++ b/docs/framework/database/schema-definition.md @@ -105,6 +105,8 @@ Tags acceptable within `<table>` / `<field>` | `<html>` | [tags](#table-field-html) | | 0 or 1 | Settings for the form element to use for this field | | `<pseudoconstant>` | [tags](#table-field-pseudoconstant) | | 0 or 1 | See [notes below](#table-field-pseudoconstant) | | `<serialize>` | text| | 0 or 1 | Method to serialize array data. For new fields use JSON | +| `<crmType>` | text | `CRM_Utils_Type::T_STRING` | 0 or 1 | Primarily used by extensions to specify an acceptable for type as under the `CRM_Utils_Type` class where the MySQL column type doesn't match directly to one. | +| `<phpType` | text | `string` | 0 or 1 | Extensions can override this with a specific format of PHP type of data. | `<type>` should be one of the following values which correspond to [MySQL data types](https://dev.mysql.com/doc/refman/en/data-types.html)