]> git.mxchange.org Git - friendica.git/blob - doc/database/db_inbox-entry.md
Merge remote-tracking branch 'upstream/develop' into enqueue-posts
[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(255) | YES  |     | NULL    |                |
13 | object-id          |                                      | varbinary(255) | YES  |     | NULL    |                |
14 | in-reply-to-id     |                                      | varbinary(255) | YES  |     | NULL    |                |
15 | type               | Type of the activity                 | varchar(64)    | YES  |     | NULL    |                |
16 | object-type        | Type of the object activity          | varchar(64)    | YES  |     | NULL    |                |
17 | object-object-type | Type of the object's object activity | varchar(64)    | YES  |     | NULL    |                |
18 | received           | Receiving date                       | datetime       | YES  |     | NULL    |                |
19 | activity           | The JSON activity                    | mediumtext     | YES  |     | NULL    |                |
20 | signer             |                                      | varchar(255)   | YES  |     | NULL    |                |
21 | push               |                                      | boolean        | NO   |     | 0       |                |
22 | wid                | Workerqueue id                       | int unsigned   | YES  |     | NULL    |                |
23
24 Indexes
25 ------------
26
27 | Name        | Fields              |
28 | ----------- | ------------------- |
29 | PRIMARY     | id                  |
30 | activity-id | UNIQUE, activity-id |
31 | object-id   | object-id           |
32 | received    | received            |
33 | wid         | wid                 |
34
35 Foreign Keys
36 ------------
37
38 | Field | Target Table | Target Field |
39 |-------|--------------|--------------|
40 | wid | [workerqueue](help/database/db_workerqueue) | id |
41
42 Return to [database documentation](help/database)