Skip to main content

appointments

NameTypeStorageNullableForeign KeysDefault Value & Notes
PKIDintegerplainAppointment ID
forkintegerplainforks.IDFork ID (`null` for base module)
owneruserintegerplainusers.IDOwner user ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`)
ownergroupintegerplaingroups.IDOwner group ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`)
creatorintegerplainusers.IDCreator user ID (defaults to authenticated user on creation)
assigneduserintegerplainusers.IDAssigned user ID
creationdatebigintplainDefault: date_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodifiedbigintplainDefault: date_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification)
davserverintegerplaindavservers.IDDAV server ID
visibilitysmallintplainDefault: 0Visibility (`0`=REGULAR, `1`=ARCHIVED, `2`=DELETED)
nametextmainName
locationtextmainDefault: ''Location
colorcharacter varying(6)extendedDefault: ''Color code (CSS-style hexadecimal without `#`)
datefrombigintplainStart date and time as a Unix timestamp; must be less than or equal to `dateto`
datetobigintplainEnd date and time as a Unix timestamp; must be greater than or equal to `datefrom`
recurrencesmallintplainRecurrence (`0`=DAY, `1`=WORKDAY, `2`=WEEK, `3`=MONTH, `4`=YEAR)
intervalsmallintplainDefault: 1Recurrence interval in minutes
maxoccurrencesintegerplainDefault: 0Maximum number of occurrences including the start date (`0`=unlimited)
daterecurrencebigintplainRecurrence end date as a Unix timestamp
descriptiontextextendedDefault: ''Detailed general description
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_appointments_assigneduserginassigneduser
fk_appointments_davservergindavserver
fk_appointments_forkginfork
fk_appointments_ownergroupginownergroup
fk_appointments_owneruserginowneruser
i_appointments_datefrom_datetobtreedatefrom, dateto
i_appointments_noforkginfork
i_appointments_noownerginownergroup
pk_appointmentsbtreeID
s_appointments_locationginlocation
s_appointments_nameginname
NameType
c_appointments_datecheck
c_appointments_ownercheck
dc_appointments_colorcheck
dc_appointments_descriptioncheck
dc_appointments_intervalcheck
dc_appointments_locationcheck
dc_appointments_maxoccurrencescheck
dc_appointments_namecheck
dc_appointments_recurrencecheck
dc_appointments_visibilitycheck
fk_appointments_assigneduserforeign_key
fk_appointments_creatorforeign_key
fk_appointments_davserverforeign_key
fk_appointments_forkforeign_key
fk_appointments_ownergroupforeign_key
fk_appointments_owneruserforeign_key
pk_appointmentsprimary_key
Loading...