]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_manage.md
Add changes to the Photo entries in Friendica API endpoint
[friendica.git] / doc / database / db_manage.md
index c2dadfca4d94ac7df1549e23b5efbdb135f0dafa..8a2228a5ef4c2f3804978d7a1dbca3c10265025d 100644 (file)
@@ -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)