]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_profile_check.md
Merge pull request #10508 from annando/loop-prevention
[friendica.git] / doc / database / db_profile_check.md
index 77f4bb61889cb4e2fbb723dc4066da2692f90e41..4049bd6048001472023886cd2cbb6fffd9ff9747 100644 (file)
@@ -3,6 +3,9 @@ Table profile_check
 
 DFRN remote auth use
 
+Fields
+------
+
 | Field   | Description   | Type               | Null | Key | Default | Extra          |
 | ------- | ------------- | ------------------ | ---- | --- | ------- | -------------- |
 | id      | sequential ID | int unsigned       | NO   | PRI | NULL    | auto_increment |
@@ -12,4 +15,21 @@ DFRN remote auth use
 | sec     |               | varchar(255)       | NO   |     |         |                |
 | expire  |               | int unsigned       | NO   |     | 0       |                |
 
+Indexes
+------------
+
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
+| cid     | cid    |
+
+Foreign Keys
+------------
+
+| Field | Target Table | Target Field |
+|-------|--------------|--------------|
+| uid | [user](help/database/db_user) | uid |
+| cid | [contact](help/database/db_contact) | id |
+
 Return to [database documentation](help/database)