Skip to main content

tickets

NameTypeStorageNullableForeign KeysDefault Value & Notes
PKIDintegerplainTicket ID
forkintegerplainforks.IDFork ID (`null` for base module)
ownergroupintegerplaingroups.IDOwner group ID (`null`=PUBLIC)
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)
accountintegerplainaccounts.IDAccount ID; is mutually exclusive to `project`
projectintegerplainprojects.IDProject ID; is mutually exclusive to `account`
visibilitysmallintplainDefault: 0Visibility (`0`=REGULAR, `1`=ARCHIVED, `2`=DELETED)
nametextmainName
ticketnumtextmainDefault: ''Ticket number
datebigintplainDefault: date_part('epoch', now())Designated date and time as a Unix timestamp (defaults to current date and time on creation)
duedatebigintplainDue date and time as a Unix timestamp
statussmallintplainDefault: 0Status (`0`=NOTSTARTED, `1`=AWAITINGACCEPTANCE, `2`=ACCEPTED, `3`=REJECTED, `4`=ACTIVE, `5`=INACTIVE, `6`=FEEDBACKREQUIRED, `7`=TESTING, `8`=CANCELLED, `9`=COMPLETED, `10`=FAILED, `11`=BOOKED)
prioritysmallintplainDefault: 2Priority (`0`=LOWEST, `1`=LOW, `2`=MEDIUM, `3`=HIGH, `4`=HIGHEST)
descriptiontextextendedDefault: ''Detailed general description
billingitemsjsonextendedJSON-encoded items (array)
procurementitemsjsonextendedJSON-encoded items (array)
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_tickets_accountbtreeaccount
fk_tickets_assigneduserginassigneduser
fk_tickets_forkginfork
fk_tickets_ownergroupginownergroup
fk_tickets_projectginproject
i_tickets_datebtreedate
i_tickets_noforkginfork
i_tickets_noownerginownergroup
pk_ticketsbtreeID
s_tickets_nameginname
s_tickets_ticketnumginticketnum
NameType
c_tickets_associationcheck
dc_tickets_billingitemscheck
dc_tickets_descriptioncheck
dc_tickets_namecheck
dc_tickets_prioritycheck
dc_tickets_procurementitemscheck
dc_tickets_statuscheck
dc_tickets_ticketnumcheck
dc_tickets_visibilitycheck
fk_tickets_accountforeign_key
fk_tickets_assigneduserforeign_key
fk_tickets_creatorforeign_key
fk_tickets_forkforeign_key
fk_tickets_ownergroupforeign_key
fk_tickets_projectforeign_key
pk_ticketsprimary_key
Loading...