From b4835efb0ecf7c0ad9e36a497ee02afa82dc2f58 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton <eileen@mcnaughty.com> Date: Sat, 24 Mar 2018 11:10:46 +1300 Subject: [PATCH] Add serialize to schema --- docs/framework/database/schema-definition.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/framework/database/schema-definition.md b/docs/framework/database/schema-definition.md index 66e8a20a..3bd17fa5 100644 --- a/docs/framework/database/schema-definition.md +++ b/docs/framework/database/schema-definition.md @@ -104,6 +104,7 @@ 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| | `PHP`/`JSON`/`SEPARATOR_BOOKEND`/`SEPARATOR_TRIMMED` | 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) -- GitLab