friendica/doc/database/db_search.md

32 lines
851 B
Markdown
Raw Permalink Normal View History

2015-12-27 20:50:25 -05:00
Table search
===========
2015-12-27 20:50:25 -05:00
2021-06-14 02:10:11 -04:00
2021-06-14 04:53:37 -04:00
Fields
------
2021-06-14 02:10:11 -04:00
| Field | Description | Type | Null | Key | Default | Extra |
| ----- | ------------- | ------------------ | ---- | --- | ------- | -------------- |
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
| uid | User id | mediumint unsigned | NO | | 0 | |
| term | | varchar(255) | NO | | | |
2015-12-27 20:50:25 -05:00
2021-06-14 04:53:37 -04:00
Indexes
------------
2021-06-14 08:15:10 -04:00
| Name | Fields |
| -------- | ------------- |
| PRIMARY | id |
2021-06-14 04:53:37 -04:00
| uid_term | uid, term(64) |
2021-06-14 08:15:10 -04:00
| term | term(64) |
2021-06-14 04:53:37 -04:00
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uid | [user](help/database/db_user) | uid |
2015-12-27 20:50:25 -05:00
Return to [database documentation](help/database)