X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_manage.md;h=8a2228a5ef4c2f3804978d7a1dbca3c10265025d;hb=dacda1b3647c366cba91a065ebe6264ae968e68f;hp=c2dadfca4d94ac7df1549e23b5efbdb135f0dafa;hpb=2cd0c1d30d237806e9c3853aa0645f786e31855c;p=friendica.git diff --git a/doc/database/db_manage.md b/doc/database/db_manage.md index c2dadfca4d..8a2228a5ef 100644 --- a/doc/database/db_manage.md +++ b/doc/database/db_manage.md @@ -3,10 +3,30 @@ Table manage table of accounts that can manage each other +Fields +------ + | Field | Description | Type | Null | Key | Default | Extra | | ----- | ------------- | ------------------ | ---- | --- | ------- | -------------- | | id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment | | uid | User id | mediumint unsigned | NO | | 0 | | | mid | User id | mediumint unsigned | NO | | 0 | | +Indexes +------------ + +| Name | Fields | +| ------- | ---------------- | +| PRIMARY | id | +| uid_mid | UNIQUE, uid, mid | +| mid | mid | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| uid | [user](help/database/db_user) | uid | +| mid | [user](help/database/db_user) | uid | + Return to [database documentation](help/database)