]> git.mxchange.org Git - friendica.git/blob - doc/database/db_fsuggest.md
b602567ceec01cf2b44d2642ae589f9ee05ce41c
[friendica.git] / doc / database / db_fsuggest.md
1 Table fsuggest
2 ===========
3
4 friend suggestion stuff
5
6 Fields
7 ------
8
9 | Field   | Description | Type               | Null | Key | Default             | Extra          |
10 | ------- | ----------- | ------------------ | ---- | --- | ------------------- | -------------- |
11 | id      |             | int unsigned       | NO   | PRI | NULL                | auto_increment |
12 | uid     | User id     | mediumint unsigned | NO   |     | 0                   |                |
13 | cid     |             | int unsigned       | NO   |     | 0                   |                |
14 | name    |             | varchar(255)       | NO   |     |                     |                |
15 | url     |             | varbinary(383)     | NO   |     |                     |                |
16 | request |             | varbinary(383)     | NO   |     |                     |                |
17 | photo   |             | varbinary(383)     | NO   |     |                     |                |
18 | note    |             | text               | YES  |     | NULL                |                |
19 | created |             | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
20
21 Indexes
22 ------------
23
24 | Name    | Fields |
25 | ------- | ------ |
26 | PRIMARY | id     |
27 | cid     | cid    |
28 | uid     | uid    |
29
30 Foreign Keys
31 ------------
32
33 | Field | Target Table | Target Field |
34 |-------|--------------|--------------|
35 | uid | [user](help/database/db_user) | uid |
36 | cid | [contact](help/database/db_contact) | id |
37
38 Return to [database documentation](help/database)