]> git.mxchange.org Git - friendica.git/blob - doc/database/db_delayed-post.md
Indexes and foreign keys added
[friendica.git] / doc / database / db_delayed-post.md
1 Table delayed-post
2 ===========
3
4 Posts that are about to be distributed at a later time
5
6 Fields
7 ------
8
9 | Field   | Description                                    | Type               | Null | Key | Default | Extra          |
10 | ------- | ---------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
11 | id      |                                                | int unsigned       | NO   | PRI | NULL    | auto_increment |
12 | uri     | URI of the post that will be distributed later | varchar(255)       | YES  |     | NULL    |                |
13 | uid     | Owner User id                                  | mediumint unsigned | YES  |     | NULL    |                |
14 | delayed | delay time                                     | datetime           | YES  |     | NULL    |                |
15
16 Indexes
17 ------------
18
19 | Name | Fields |
20 |------|---------|
21 | PRIMARY | id |
22 | uid_uri | UNIQUE, uid, uri(190) |
23
24 Foreign Keys
25 ------------
26
27 | Field | Target Table | Target Field |
28 |-------|--------------|--------------|
29 | uid | [user](help/database/db_user) | uid |
30
31 Return to [database documentation](help/database)