friendica/doc/database/db_delayed-post.md

38 lines
1.7 KiB
Markdown
Raw Normal View History

Table delayed-post
===========
2021-06-14 08:10:11 +02:00
Posts that are about to be distributed at a later time
2021-06-14 10:53:37 +02:00
Fields
------
2021-06-14 08:10:11 +02:00
| Field | Description | Type | Null | Key | Default | Extra |
| ------- | ---------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
| id | | int unsigned | NO | PRI | NULL | auto_increment |
| uri | URI of the post that will be distributed later | varchar(255) | YES | | NULL | |
2021-07-29 00:22:00 +02:00
| title | post title | varchar(255) | YES | | NULL | |
| body | post body content | mediumtext | YES | | NULL | |
| private | 0=public, 1=private, 2=unlisted | tinyint unsigned | YES | | NULL | |
| wid | Workerqueue id | int unsigned | YES | | NULL | |
2021-06-14 08:10:11 +02:00
| uid | Owner User id | mediumint unsigned | YES | | NULL | |
| delayed | delay time | datetime | YES | | NULL | |
2021-06-14 10:53:37 +02:00
Indexes
------------
2021-06-14 14:15:10 +02:00
| Name | Fields |
| ------- | --------------------- |
| PRIMARY | id |
2021-06-14 10:53:37 +02:00
| uid_uri | UNIQUE, uid, uri(190) |
2021-07-29 00:22:00 +02:00
| wid | wid |
2021-06-14 10:53:37 +02:00
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
2021-07-29 00:22:00 +02:00
| wid | [workerqueue](help/database/db_workerqueue) | id |
2021-06-14 10:53:37 +02:00
| uid | [user](help/database/db_user) | uid |
Return to [database documentation](help/database)