2015-12-28 02:50:25 +01:00
|
|
|
Table attach
|
2021-06-13 22:33:50 +02:00
|
|
|
===========
|
|
|
|
file attachments
|
2015-12-28 02:50:25 +01:00
|
|
|
|
2021-06-13 22:33:50 +02:00
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
|
|
| ----- | ----------- | ---- | ---- | --- | ------- | ----- |
|
|
|
|
| id | generated index | int unsigned | YES | PRI | | auto_increment |
|
|
|
|
| uid | Owner User id | mediumint unsigned | YES | | 0 | |
|
|
|
|
| hash | hash | varchar(64) | YES | | | |
|
|
|
|
| filename | filename of original | varchar(255) | YES | | | |
|
|
|
|
| filetype | mimetype | varchar(64) | YES | | | |
|
|
|
|
| filesize | size in bytes | int unsigned | YES | | 0 | |
|
|
|
|
| data | file data | longblob | YES | | | |
|
|
|
|
| created | creation time | datetime | YES | | 0001-01-01 00:00:00 | |
|
|
|
|
| edited | last edit time | datetime | YES | | 0001-01-01 00:00:00 | |
|
|
|
|
| allow_cid | Access Control - list of allowed contact.id '<19><78> | mediumtext | NO | | | |
|
|
|
|
| allow_gid | Access Control - list of allowed groups | mediumtext | NO | | | |
|
|
|
|
| deny_cid | Access Control - list of denied contact.id | mediumtext | NO | | | |
|
|
|
|
| deny_gid | Access Control - list of denied groups | mediumtext | NO | | | |
|
|
|
|
| backend-class | Storage backend class | tinytext | NO | | | |
|
|
|
|
| backend-ref | Storage backend data reference | text | NO | | | |
|
2015-12-28 02:50:25 +01:00
|
|
|
|
|
|
|
Return to [database documentation](help/database)
|