Skip to content
Snippets Groups Projects
Unverified Commit b8a6e285 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #504 from eileenmcnaughton/patch-3

Add serialize to schema
parents 6c6d0ae7 e663911a
Branches
No related tags found
No related merge requests found
......@@ -104,11 +104,14 @@ Tags acceptable within `<table>` / `<field>`
| `<collate>` | text | `utf8_bin` | 0 or 1 | Only needs to be set if you want something other than `utf8_unicode_ci` |
| `<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 |
`<type>` should be one of the following values which correspond to [MySQL data types](https://dev.mysql.com/doc/refman/en/data-types.html)
* `blob`, `boolean`, `char`, `datetime`, `date`, `decimal`, `float`, `int`, `int unsigned`, `longtext`, `mediumblob`, `text`, `timestamp`, `varchar`
`<serialize>` can be one of the following values `PHP`, `JSON`, `SEPARATOR_BOOKEND`, `SEPARATOR_TRIMMED`, `COMMA`. The Accepted values can be found in `CRM_Core_DAO` Class
## `<table>` / `<field>` / `<html>` {:#table-field-html}
Tags acceptable within `<table>` / `<field>` / `<html>`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment