mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:10:11 +00:00
Preparations for "featured" posts
This commit is contained in:
parent
29f65d250f
commit
a1dd299eb3
8 changed files with 125 additions and 5 deletions
29
doc/database/db_post-collection.md
Normal file
29
doc/database/db_post-collection.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
Table post-collection
|
||||
===========
|
||||
|
||||
Collection of posts
|
||||
|
||||
Fields
|
||||
------
|
||||
|
||||
| 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 | | tinyint unsigned | NO | PRI | 0 | |
|
||||
|
||||
Indexes
|
||||
------------
|
||||
|
||||
| Name | Fields |
|
||||
| ------- | ------------ |
|
||||
| PRIMARY | uri-id, type |
|
||||
| type | type |
|
||||
|
||||
Foreign Keys
|
||||
------------
|
||||
|
||||
| Field | Target Table | Target Field |
|
||||
|-------|--------------|--------------|
|
||||
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
||||
|
||||
Return to [database documentation](help/database)
|
Loading…
Add table
Add a link
Reference in a new issue