Skip to main content

files

NameTypeStorageNullableForeign KeysDefault Value & Notes
PKIDbigintplainFile ID
creatorintegerplainusers.IDCreator user ID (defaults to authenticated user on creation)
creationdatebigintplainDefault: date_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodifiedbigintplainDefault: EXTRACT(epoch FROM now())Last modification date and time as a Unix timestamp (auto-reset on modification)
recordbigintplainrecords.IDRecord ID (**dependency**); is mutually exclusive to `comment` (either one is required)
commentbigintplaincomments.IDComment ID (**dependency**); is mutually exclusive to `record` (either one is required)
filenametextmainDefault: ''Filename
mimetypetextmainDefault: 'application/octet-stream'MIME type (RFC 2045)
binfileintegerplainbinfiles.IDBinary file ID; is read-only (not for `PUT` or `PATCH`)
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_files_binfilebtreebinfile
fk_files_commentbtreecomment
fk_files_recordbtreerecord
pk_filesbtreeID
s_files_filenameginfilename
NameType
c_files_associationcheck
dc_files_filenamecheck
dc_files_mimetypecheck
fk_files_binfileforeign_key
fk_files_commentforeign_key
fk_files_creatorforeign_key
fk_files_recordforeign_key
pk_filesprimary_key
Loading...