Model editor » Field types

Field types


Field Types

The following types of fields are supported:

  • UUID [no validations]
  • Integer [size, negatives, limits]
  • Float [number of decimals, negatives, separator, limits]
  • Decimal [number of decimals, negatives, separator, limits, currency]
  • Boolean [no validations]
  • Char [size, regex]
  • Varchar [size, regex]
  • Text [size]
  • Encrypted [type, size, salt, regex]
  • Email [allow/exclude domains]
  • Phone [allow/exclude countries]
  • URL [allow/exclude domains, extensions, https]
  • Location [no validations]
  • Color [no validations]
  • Richtext [no validations]
  • Code [no validations]
  • Markdown [no validations]
  • File [storage, size, extensions]
  • Image [storage, size, extensions]
  • Audio [storage, size, extensions]
  • Video [storage, size, extensions]
  • Enum [enum selection, cardinality]
  • JSON [no validations]
  • Array [type, number of elements, unique]
  • Date [future, past, timezone]
  • Datetime [future, past, timezone]
  • Time [no validations]

When editing a field by either double clicking on it in the diagram or on the settings button in the entity configuration side panel, if the fields supports type validations they will appear under "Type config"

Editor Field Settings

Next steps