5 | Field | Description | Type | Null | Key | Default | Extra |
6 | ----- | ----------- | ---- | ---- | --- | ------- | ----- |
7 | id | generated index | int unsigned | NO | PRI | NULL | auto_increment |
8 | uid | Owner User id | mediumint unsigned | NO | | 0 | |
9 | hash | hash | varchar(64) | NO | | | |
10 | filename | filename of original | varchar(255) | NO | | | |
11 | filetype | mimetype | varchar(64) | NO | | | |
12 | filesize | size in bytes | int unsigned | NO | | 0 | |
13 | data | file data | longblob | NO | | NULL | |
14 | created | creation time | datetime | NO | | 0001-01-01 00:00:00 | |
15 | edited | last edit time | datetime | NO | | 0001-01-01 00:00:00 | |
16 | allow_cid | Access Control - list of allowed contact.id '<19><78> | mediumtext | YES | | NULL | |
17 | allow_gid | Access Control - list of allowed groups | mediumtext | YES | | NULL | |
18 | deny_cid | Access Control - list of denied contact.id | mediumtext | YES | | NULL | |
19 | deny_gid | Access Control - list of denied groups | mediumtext | YES | | NULL | |
20 | backend-class | Storage backend class | tinytext | YES | | NULL | |
21 | backend-ref | Storage backend data reference | text | YES | | NULL | |
23 Return to [database documentation](help/database)