]> git.mxchange.org Git - friendica.git/blob - doc/database/db_search.md
Merge pull request #10362 from tobiasd/2021.06-CHANGELOG
[friendica.git] / doc / database / db_search.md
1 Table search
2 ===========
3
4
5
6 Fields
7 ------
8
9 | Field | Description   | Type               | Null | Key | Default | Extra          |
10 | ----- | ------------- | ------------------ | ---- | --- | ------- | -------------- |
11 | id    | sequential ID | int unsigned       | NO   | PRI | NULL    | auto_increment |
12 | uid   | User id       | mediumint unsigned | NO   |     | 0       |                |
13 | term  |               | varchar(255)       | NO   |     |         |                |
14
15 Indexes
16 ------------
17
18 | Name     | Fields        |
19 | -------- | ------------- |
20 | PRIMARY  | id            |
21 | uid_term | uid, term(64) |
22 | term     | term(64)      |
23
24 Foreign Keys
25 ------------
26
27 | Field | Target Table | Target Field |
28 |-------|--------------|--------------|
29 | uid | [user](help/database/db_user) | uid |
30
31 Return to [database documentation](help/database)