Zum Hauptinhalt springen

notes

Module: notes

Rich text notes with file attachments.

Status codes

StatusIDColor
Draft0green
Feedback required1orange
In revision2green
Awaiting approval3orange
Final4black
Obsolete5black
NameTypeNullableDefault ValueNotes
PKID
integerNote ID
fork
forks.ID
integerFork ID (`null` for base module)
owneruser
users.ID
integerOwner user ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`)
ownergroup
groups.ID
integerOwner group ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`)
creator
integerCreator user ID (defaults to authenticated user on creation)
assigneduser
users.ID
integerAssigned user ID
creationdate
bigintdate_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodified
bigintdate_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification)
binfile
binfiles.ID
integerBinary file ID; is read-only (not for `PUT` or `PATCH`)
visibility
smallint0Visibility (`0`=REGULAR, `1`=ARCHIVED, `2`=DELETED)
name
textName
status
smallint0Status (`0`=DRAFT, `1`=FEEDBACKREQUIRED, `2`=INREVISION, `3`=AWAITINGAPPROVAL, `4`=FINAL, `5`=OBSOLETE)
contenttype
text''Content MIME type (RFC 2045)
text
text''Plain text version of content
attachments
text[]Array-encoded attachments (filenames)
description
text''Detailed general description
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_notes_assigneduserginassigneduser
fk_notes_binfilebtreebinfile
fk_notes_forkginfork
fk_notes_ownergroupginownergroup
fk_notes_owneruserginowneruser
i_notes_noforkginfork
i_notes_noownerginownergroup
pk_notesbtreeID
s_notes_nameginname
NameType
c_notes_ownercheck
dc_notes_contenttypecheck
dc_notes_descriptioncheck
dc_notes_namecheck
dc_notes_statuscheck
dc_notes_textcheck
dc_notes_visibilitycheck
fk_notes_assigneduserforeign_key
fk_notes_binfileforeign_key
fk_notes_forkforeign_key
fk_notes_ownergroupforeign_key
fk_notes_owneruserforeign_key
pk_notesprimary_key
Loading...