]> git.mxchange.org Git - friendica.git/blob - doc/database/db_account-suggestion.md
Merge pull request #13390 from annando/channel
[friendica.git] / doc / database / db_account-suggestion.md
1 Table account-suggestion
2 ===========
3
4 Account suggestion
5
6 Fields
7 ------
8
9 | Field  | Description                                                  | Type               | Null | Key | Default | Extra |
10 | ------ | ------------------------------------------------------------ | ------------------ | ---- | --- | ------- | ----- |
11 | uri-id | Id of the item-uri table entry that contains the account url | int unsigned       | NO   | PRI | NULL    |       |
12 | uid    | User ID                                                      | mediumint unsigned | NO   | PRI | NULL    |       |
13 | level  | level of closeness                                           | smallint unsigned  | YES  |     | NULL    |       |
14 | ignore | If set, this account will not be suggested again             | boolean            | NO   |     | 0       |       |
15
16 Indexes
17 ------------
18
19 | Name       | Fields      |
20 | ---------- | ----------- |
21 | PRIMARY    | uid, uri-id |
22 | uri-id_uid | uri-id, uid |
23
24 Foreign Keys
25 ------------
26
27 | Field | Target Table | Target Field |
28 |-------|--------------|--------------|
29 | uri-id | [item-uri](help/database/db_item-uri) | id |
30 | uid | [user](help/database/db_user) | uid |
31
32 Return to [database documentation](help/database)