1
0
Fork 0
friendica_2020-09-1_sharedH.../doc/database/db_post-collection.md

33 lines
1.1 KiB
Markdown
Raw Normal View History

2022-04-06 15:34:11 +02:00
Table post-collection
===========
Collection of posts
Fields
------
2022-08-15 15:23:01 +02: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 15:34:11 +02:00
Indexes
------------
2022-08-15 15:23:01 +02:00
| Name | Fields |
| --------- | ------------ |
| PRIMARY | uri-id, type |
| type | type |
| author-id | author-id |
2022-04-06 15:34:11 +02:00
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uri-id | [item-uri](help/database/db_item-uri) | id |
2022-08-15 15:23:01 +02:00
| author-id | [contact](help/database/db_contact) | id |
2022-04-06 15:34:11 +02:00
Return to [database documentation](help/database)