mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Contact suggestions are now cached
This commit is contained in:
parent
8eda9dfe7c
commit
f31e617f5d
13 changed files with 218 additions and 17 deletions
32
doc/database/db_account-suggestion.md
Normal file
32
doc/database/db_account-suggestion.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
Table account-suggestion
|
||||
===========
|
||||
|
||||
Account suggestion
|
||||
|
||||
Fields
|
||||
------
|
||||
|
||||
| Field | Description | Type | Null | Key | Default | Extra |
|
||||
| ------ | ------------------------------------------------------------ | ------------------ | ---- | --- | ------- | ----- |
|
||||
| uri-id | Id of the item-uri table entry that contains the account url | int unsigned | NO | PRI | NULL | |
|
||||
| uid | User ID | mediumint unsigned | NO | PRI | NULL | |
|
||||
| level | level of closeness | smallint unsigned | YES | | NULL | |
|
||||
| ignore | If set, this account will not be suggested again | boolean | NO | | 0 | |
|
||||
|
||||
Indexes
|
||||
------------
|
||||
|
||||
| Name | Fields |
|
||||
| ---------- | ----------- |
|
||||
| PRIMARY | uid, uri-id |
|
||||
| uri-id_uid | uri-id, uid |
|
||||
|
||||
Foreign Keys
|
||||
------------
|
||||
|
||||
| Field | Target Table | Target Field |
|
||||
|-------|--------------|--------------|
|
||||
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
||||
| uid | [user](help/database/db_user) | uid |
|
||||
|
||||
Return to [database documentation](help/database)
|
Loading…
Add table
Add a link
Reference in a new issue