mirror of
https://github.com/friendica/friendica
synced 2024-11-11 23:42:53 +00:00
22 lines
2.2 KiB
Markdown
22 lines
2.2 KiB
Markdown
Table attach
|
|
============
|
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
| ---------- | ------------------------------------------------------| ------------ | ---- | --- | ------------------- | --------------- |
|
|
| id | generated index | int(11) | NO | PRI | NULL | auto_increment |
|
|
| uid | user_id of owner | int(11) | NO | | 0 | |
|
|
| hash | hash | varchar(64) | NO | | | |
|
|
| filename | filename of original | varchar(255) | NO | | | |
|
|
| filetype | mimetype | varchar(64) | NO | | | |
|
|
| filesize | size in bytes | int(11) | NO | | 0 | |
|
|
| data | file data | longblob | NO | | NULL | |
|
|
| created | creation time | datetime | NO | | 0000-00-00 00:00:00 | |
|
|
| edited | last edit time | datetime | NO | | 0000-00-00 00:00:00 | |
|
|
| allow_cid | Access Control - list of allowed contact.id '<19><78> | mediumtext | NO | | NULL | |
|
|
| allow_gid | Access Control - list of allowed groups | mediumtext | NO | | NULL | |
|
|
| deny_cid | Access Control - list of denied contact.id | mediumtext | NO | | NULL | |
|
|
| deny_gid | Access Control - list of denied groups | mediumtext | NO | | NULL | |
|
|
|
|
Notes: Permissions are surrounded by angle chars. e.g. <4>
|
|
|
|
Return to [database documentation](help/database)
|