mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
author-id/owner-id: Post update function/added database documentation
This commit is contained in:
parent
cd92a0dc34
commit
c7373dcec4
7 changed files with 88 additions and 3 deletions
|
@ -24,9 +24,11 @@ Table item
|
|||
| owner-name | Name of the owner of this item | varchar(255) | NO | | | |
|
||||
| owner-link | Link to the profile page of the owner of this item | varchar(255) | NO | | | |
|
||||
| owner-avatar | Link to the avatar picture of the owner of this item | varchar(255) | NO | | | |
|
||||
| owner-id | Link to the contact table with uid=0 of the owner of this item | int(11) | NO | MUL | 0 | |
|
||||
| author-name | Name of the author of this item | varchar(255) | NO | | | |
|
||||
| author-link | Link to the profile page of the author of this item | varchar(255) | NO | | | |
|
||||
| author-avatar | Link to the avatar picture of the author of this item | varchar(255) | NO | | | |
|
||||
| author-id | Link to the contact table with uid=0 of the author of this item | int(11) | NO | MUL | 0 | |
|
||||
| title | item title | varchar(255) | NO | | | |
|
||||
| body | item body content | mediumtext | NO | | NULL | |
|
||||
| app | application which generated this item | varchar(255) | NO | | | |
|
||||
|
|
|
@ -7,6 +7,8 @@ Table thread
|
|||
| uid | | int(10) unsigned | NO | MUL | 0 | |
|
||||
| contact-id | | int(11) unsigned | NO | | 0 | |
|
||||
| gcontact-id | Global Contact | int(11) unsigned | NO | | 0 | |
|
||||
| owner-id | Item owner | int(11) unsigned | NO | MUL | 0 | |
|
||||
| author-id | Item author | int(11) unsigned | NO | MUL | 0 | |
|
||||
| created | | datetime | NO | MUL | 0000-00-00 00:00:00 | |
|
||||
| edited | | datetime | NO | | 0000-00-00 00:00:00 | |
|
||||
| commented | | datetime | NO | MUL | 0000-00-00 00:00:00 | |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue