4 Structure for all posts
9 | Field | Description | Type | Null | Key | Default | Extra |
10 | ------------- | --------------------------------------------------------------------------------- | ----------------- | ---- | --- | ------------------- | ----- |
11 | uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | NO | PRI | NULL | |
12 | parent-uri-id | Id of the item-uri table that contains the parent uri | int unsigned | YES | | NULL | |
13 | thr-parent-id | Id of the item-uri table that contains the thread parent uri | int unsigned | YES | | NULL | |
14 | external-id | Id of the item-uri table entry that contains the external uri | int unsigned | YES | | NULL | |
15 | created | Creation timestamp. | datetime | NO | | 0001-01-01 00:00:00 | |
16 | edited | Date of last edit (default is created) | datetime | NO | | 0001-01-01 00:00:00 | |
17 | received | datetime | datetime | NO | | 0001-01-01 00:00:00 | |
18 | gravity | | tinyint unsigned | NO | | 0 | |
19 | network | Network from where the item comes from | char(4) | NO | | | |
20 | owner-id | Link to the contact table with uid=0 of the owner of this item | int unsigned | NO | | 0 | |
21 | author-id | Link to the contact table with uid=0 of the author of this item | int unsigned | NO | | 0 | |
22 | causer-id | Link to the contact table with uid=0 of the contact that caused the item creation | int unsigned | YES | | NULL | |
23 | post-type | Post type (personal note, image, article, ...) | tinyint unsigned | NO | | 0 | |
24 | vid | Id of the verb table entry that contains the activity verbs | smallint unsigned | YES | | NULL | |
25 | private | 0=public, 1=private, 2=unlisted | tinyint unsigned | NO | | 0 | |
26 | global | | boolean | NO | | 0 | |
27 | visible | | boolean | NO | | 0 | |
28 | deleted | item has been marked for deletion | boolean | NO | | 0 | |
34 | ------------- | ------------- |
36 | parent-uri-id | parent-uri-id |
37 | thr-parent-id | thr-parent-id |
38 | external-id | external-id |
39 | owner-id | owner-id |
40 | author-id | author-id |
41 | causer-id | causer-id |
47 | Field | Target Table | Target Field |
48 |-------|--------------|--------------|
49 | uri-id | [item-uri](help/database/db_item-uri) | id |
50 | parent-uri-id | [item-uri](help/database/db_item-uri) | id |
51 | thr-parent-id | [item-uri](help/database/db_item-uri) | id |
52 | external-id | [item-uri](help/database/db_item-uri) | id |
53 | owner-id | [contact](help/database/db_contact) | id |
54 | author-id | [contact](help/database/db_contact) | id |
55 | causer-id | [contact](help/database/db_contact) | id |
56 | vid | [verb](help/database/db_verb) | id |
58 Return to [database documentation](help/database)