Custom Field storage
Last updated on
2 April 2026
The following table provides an overview of the data type options available to build a Custom Field.
| Id | Label | Schema type |
|---|---|---|
| boolean | Boolean | int |
| color | Color | varchar |
| datetime | Date | varchar __timezone: varchar |
| daterange (^4.x) | Date range | varchar __end: varchar __timezone: varchar __duration: int |
| duration (^4.x) | Duration | int |
| decimal | Number (decimal) | numeric |
| varchar | ||
| entity_reference | Entity reference | int (content entities) varchar_ascii (config entities) |
| file | File | int |
| float | Number (float) | float |
| image | Image | int __alt: varchar __title: varchar __height: int __width: int |
| integer | Number (integer) | int |
| link | Link | varchar __title: varchar __options: blob |
| map | Serialized - Key/Value | blob |
| map_string | Serialized - Text (plain) | blob |
| string | Text | varchar |
| string_long | Text (long) | text |
| telephone | Telephone number | varchar |
| time | Time | int |
| time_range (^4.x) | Time range | int __end: int __duration: int |
| uri | URI | varchar |
| uuid | UUID | varchar_ascii |
| viewfield* | Viewfield | varchar_ascii __display: varchar_ascii __arguments: varchar __items: int |
- Field types marked with * are provided by sub-modules.
- Schema types with additional __ specified are extra columns created alongside the main property.
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion