9 | Field | Description | Type | Null | Key | Default | Extra |
10 | --------------------- | -------------------------------------------------------- | ----------------- | ---- | --- | ------------------- | ----- |
11 | cid | contact the related contact had interacted with | int unsigned | NO | PRI | 0 | |
12 | relation-cid | related contact who had interacted with the contact | int unsigned | NO | PRI | 0 | |
13 | last-interaction | Date of the last interaction by relation-cid on cid | datetime | NO | | 0001-01-01 00:00:00 | |
14 | follow-updated | Date of the last update of the contact relationship | datetime | NO | | 0001-01-01 00:00:00 | |
15 | follows | if true, relation-cid follows cid | boolean | NO | | 0 | |
16 | score | score for interactions of cid on relation-cid | smallint unsigned | YES | | NULL | |
17 | relation-score | score for interactions of relation-cid on cid | smallint unsigned | YES | | NULL | |
18 | thread-score | score for interactions of cid on threads of relation-cid | smallint unsigned | YES | | NULL | |
19 | relation-thread-score | score for interactions of relation-cid on threads of cid | smallint unsigned | YES | | NULL | |
25 | ------------ | ----------------- |
26 | PRIMARY | cid, relation-cid |
27 | relation-cid | relation-cid |
32 | Field | Target Table | Target Field |
33 |-------|--------------|--------------|
34 | cid | [contact](help/database/db_contact) | id |
35 | relation-cid | [contact](help/database/db_contact) | id |
37 Return to [database documentation](help/database)