X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_attach.md;h=76d8e01f2094a64c1fc38eac7b39cefcfe82195c;hb=a2532ad7554602d631d9caabb5c74564328d1fff;hp=4cbda2a17b5d9facc225f7ddaa916c136923d5f9;hpb=2cd0c1d30d237806e9c3853aa0645f786e31855c;p=friendica.git diff --git a/doc/database/db_attach.md b/doc/database/db_attach.md index 4cbda2a17b..76d8e01f20 100644 --- a/doc/database/db_attach.md +++ b/doc/database/db_attach.md @@ -3,6 +3,9 @@ Table attach file attachments +Fields +------ + | Field | Description | Type | Null | Key | Default | Extra | | ------------- | ----------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- | | id | generated index | int unsigned | NO | PRI | NULL | auto_increment | @@ -14,11 +17,26 @@ file attachments | data | file data | longblob | NO | | NULL | | | created | creation time | datetime | NO | | 0001-01-01 00:00:00 | | | edited | last edit time | datetime | NO | | 0001-01-01 00:00:00 | | -| allow_cid | Access Control - list of allowed contact.id '<19><78> | mediumtext | YES | | NULL | | +| allow_cid | Access Control - list of allowed contact.id '<19><78> | mediumtext | YES | | NULL | | | allow_gid | Access Control - list of allowed groups | mediumtext | YES | | NULL | | | deny_cid | Access Control - list of denied contact.id | mediumtext | YES | | NULL | | | deny_gid | Access Control - list of denied groups | mediumtext | YES | | NULL | | | backend-class | Storage backend class | tinytext | YES | | NULL | | | backend-ref | Storage backend data reference | text | YES | | NULL | | +Indexes +------------ + +| Name | Fields | +| ------- | ------ | +| PRIMARY | id | +| uid | uid | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| uid | [user](help/database/db_user) | uid | + Return to [database documentation](help/database)