Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

attach

FieldDescriptionTypeNullKeyDefault
idgenerated indexint(10) unsignedNOPRINULL
aidaccount_id of ownerint(10) unsignedNOMUL0
uidchannel_id of ownerint(10) unsignedNOMUL0
hashhash for cross-site identificationchar(191)NOMUL
creatorxchan_hash of author/creatorchar(191)NOMUL
filenamefilename of originalchar(191)NOMUL
filetypemimetypechar(128)NOMUL
filesizesize in bytesint(10) unsignedNOMUL0
revisionfor version control (partially implemented)int(10) unsignedNOMUL0
folderattach.hash of parent folderchar(191)NOMUL
flagsno longer usedint(10) unsignedNOMUL0
is_dir0 (file) or 1 to indicate a directorytinyint(1)NOMUL0
is_photoif 1, a photo is linked to this resourcetinyint(1)NOMUL0
os_storageif 0, data contains content; if 1 data contains path to content (always 1 in hubzilla)tinyint(1)NOMUL0
os_pathunder construction, store the system pathmediumtextNO
display_pathunder construction, store the human readable pathmediumtextNO
contentfile data or pathname to stored data if ATTACH_FLAG_OSlongblobNO
createdcreation timedatetimeNOMUL0001-01-01 00:00:00
editedlast edit timedatetimeNOMUL0001-01-01 00:00:00
allow_cidpermissionsmediumtextNO
allow_gidpermissionsmediumtextNO
deny_cidpermissionsmediumtextNO
deny_gidpermissionsmediumtextNO

permissions are xchan_hash or group_hash surrounded by angle chars. e.g. ‘’

➔ Datenbank