friendica/doc/database/db_post-collection.md

33 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2022-04-06 13:34:11 +00:00
Table post-collection
===========
Collection of posts
Fields
------
2022-08-15 13:23:01 +00:00
| Field | Description | Type | Null | Key | Default | Extra |
| --------- | --------------------------------------------------------- | ---------------- | ---- | --- | ------- | ----- |
| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | NO | PRI | NULL | |
| type | 0 - Featured | tinyint unsigned | NO | PRI | 0 | |
| author-id | Author of the featured post | int unsigned | YES | | NULL | |
2022-04-06 13:34:11 +00:00
Indexes
------------
2022-08-15 13:23:01 +00:00
| Name | Fields |
| --------- | ------------ |
| PRIMARY | uri-id, type |
| type | type |
| author-id | author-id |
2022-04-06 13:34:11 +00:00
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uri-id | [item-uri](help/database/db_item-uri) | id |
2022-08-15 13:23:01 +00:00
| author-id | [contact](help/database/db_contact) | id |
2022-04-06 13:34:11 +00:00
Return to [database documentation](help/database)