Channels are a new way to see different content
This commit is contained in:
parent
5c26ba5f5d
commit
5c166be3fc
22 changed files with 860 additions and 249 deletions
|
@ -16,6 +16,7 @@ General
|
|||
-------
|
||||
* p - Profile
|
||||
* n - Network
|
||||
* l - Channel
|
||||
* c - Community
|
||||
* s - Search
|
||||
* a - Admin
|
||||
|
@ -28,6 +29,12 @@ General
|
|||
* l - Local community
|
||||
* g - Global community
|
||||
|
||||
../channel
|
||||
--------
|
||||
* h - what's hot
|
||||
* y - for you
|
||||
* f - followers
|
||||
|
||||
../profile
|
||||
--------
|
||||
* m - Status Messages and Posts
|
||||
|
|
|
@ -61,6 +61,7 @@ Database Tables
|
|||
| [post-content](help/database/db_post-content) | Content for all posts |
|
||||
| [post-delivery](help/database/db_post-delivery) | Delivery data for posts for the batch processing |
|
||||
| [post-delivery-data](help/database/db_post-delivery-data) | Delivery data for items |
|
||||
| [post-engagement](help/database/db_post-engagement) | Engagement data per post |
|
||||
| [post-history](help/database/db_post-history) | Post history |
|
||||
| [post-link](help/database/db_post-link) | Post related external links |
|
||||
| [post-media](help/database/db_post-media) | Attached media |
|
||||
|
|
35
doc/database/db_post-engagement.md
Normal file
35
doc/database/db_post-engagement.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
Table post-engagement
|
||||
===========
|
||||
|
||||
Engagement data per post
|
||||
|
||||
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 | |
|
||||
| author-id | Link to the contact table with uid=0 of the author of this item | int unsigned | NO | | 0 | |
|
||||
| contact-type | Person, organisation, news, community, relay | tinyint | NO | | 0 | |
|
||||
| created | | datetime | YES | | NULL | |
|
||||
| comments | Number of comments | mediumint unsigned | YES | | NULL | |
|
||||
| activities | Number of activities (like, dislike, ...) | mediumint unsigned | YES | | NULL | |
|
||||
|
||||
Indexes
|
||||
------------
|
||||
|
||||
| Name | Fields |
|
||||
| --------- | --------- |
|
||||
| PRIMARY | uri-id |
|
||||
| author-id | author-id |
|
||||
| created | created |
|
||||
|
||||
Foreign Keys
|
||||
------------
|
||||
|
||||
| Field | Target Table | Target Field |
|
||||
|-------|--------------|--------------|
|
||||
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
||||
| author-id | [contact](help/database/db_contact) | id |
|
||||
|
||||
Return to [database documentation](help/database)
|
|
@ -8,8 +8,8 @@ Fields
|
|||
|
||||
| Field | Description | Type | Null | Key | Default | Extra |
|
||||
| ------- | ---------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
|
||||
| uid | Owner User id | mediumint unsigned | NO | | 0 | |
|
||||
| gsid | Gserver id | int unsigned | NO | | 0 | |
|
||||
| uid | Owner User id | mediumint unsigned | NO | PRI | 0 | |
|
||||
| gsid | Gserver id | int unsigned | NO | PRI | 0 | |
|
||||
| ignored | server accounts are ignored for the user | boolean | NO | | 0 | |
|
||||
|
||||
Indexes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue