]> git.mxchange.org Git - friendica.git/blob - doc/database/db_inbox-entry.md
Merge pull request #12593 from nupplaphil/feat/node.config.php
[friendica.git] / doc / database / db_inbox-entry.md
1 Table inbox-entry
2 ===========
3
4 Incoming activity
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 | activity-id        | id of the incoming activity            | varbinary(383) | YES  |     | NULL    |                |
13 | object-id          |                                        | varbinary(383) | YES  |     | NULL    |                |
14 | in-reply-to-id     |                                        | varbinary(383) | YES  |     | NULL    |                |
15 | conversation       |                                        | varbinary(383) | YES  |     | NULL    |                |
16 | type               | Type of the activity                   | varchar(64)    | YES  |     | NULL    |                |
17 | object-type        | Type of the object activity            | varchar(64)    | YES  |     | NULL    |                |
18 | object-object-type | Type of the object's object activity   | varchar(64)    | YES  |     | NULL    |                |
19 | received           | Receiving date                         | datetime       | YES  |     | NULL    |                |
20 | activity           | The JSON activity                      | mediumtext     | YES  |     | NULL    |                |
21 | signer             |                                        | varchar(255)   | YES  |     | NULL    |                |
22 | push               | Is the entry pushed or have pulled it? | boolean        | YES  |     | NULL    |                |
23 | trust              | Do we trust this entry?                | boolean        | YES  |     | NULL    |                |
24 | wid                | Workerqueue id                         | int unsigned   | YES  |     | NULL    |                |
25
26 Indexes
27 ------------
28
29 | Name        | Fields              |
30 | ----------- | ------------------- |
31 | PRIMARY     | id                  |
32 | activity-id | UNIQUE, activity-id |
33 | object-id   | object-id           |
34 | received    | received            |
35 | wid         | wid                 |
36
37 Foreign Keys
38 ------------
39
40 | Field | Target Table | Target Field |
41 |-------|--------------|--------------|
42 | wid | [workerqueue](help/database/db_workerqueue) | id |
43
44 Return to [database documentation](help/database)