Zum Hauptinhalt springen

customfields

Module: admin

Custom field definitions for extending entity schemas.

NameTypeNullableDefault ValueNotes
PKID
integerCustom field ID
creator
integerCreator user ID (defaults to authenticated user on creation)
creationdate
bigintEXTRACT(epoch FROM now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodified
bigintEXTRACT(epoch FROM now())Last modification date and time as a Unix timestamp (auto-reset on modification)
activity
smallint0Activity (`0`=ACTIVE, `1`=DEACTIVATED, `2`=DELETED)
name
textName
identifier
character varying(200)Unique field identifier
context
textContext (mainly entity)
source
smallint0Data source (`0`=EXTDATA, `1`=TAGS, `2`=INTERNAL)
reference
textData reference (extdata field name or tag name)
indexed
smallint0Indexed
type
text''Data type
entity
t_entityCanonical entity; only for `type`=`entity`
options
jsonJSON-encoded option values and labels (array or object); only relevant for `type`=`list`
langaliases
jsonJSON-encoded language-specific aliases (object); use language code as object key
pattern
text''
NameUniqueNulls DistinctPrimaryPartialMethodKeys
pk_customfieldsbtreeID
s_customfields_contextgincontext
s_customfields_identifierginidentifier
s_customfields_nameginname
s_customfields_referenceginreference
u_customfields_identifierbtreeidentifier
NameType
c_customfields_entitycheck
c_customfields_typecheck
dc_customfields_activitycheck
dc_customfields_contextcheck
dc_customfields_identifiercheck
dc_customfields_langaliasescheck
dc_customfields_namecheck
dc_customfields_optionscheck
dc_customfields_patterncheck
dc_customfields_referencecheck
dc_customfields_sourcecheck
pk_customfieldsprimary_key
u_customfields_identifierunique
Loading...