]> git.mxchange.org Git - friendica.git/blob - doc/database/db_push_subscriber.md
HTML-escape notification contact names
[friendica.git] / doc / database / db_push_subscriber.md
1 Table push_subscriber
2 ===========
3
4 Used for OStatus: Contains feed subscribers
5
6 Fields
7 ------
8
9 | Field        | Description                       | Type               | Null | Key | Default             | Extra          |
10 | ------------ | --------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
11 | id           | sequential ID                     | int unsigned       | NO   | PRI | NULL                | auto_increment |
12 | uid          | User id                           | mediumint unsigned | NO   |     | 0                   |                |
13 | callback_url |                                   | varbinary(383)     | NO   |     |                     |                |
14 | topic        |                                   | varchar(255)       | NO   |     |                     |                |
15 | nickname     |                                   | varchar(255)       | NO   |     |                     |                |
16 | push         | Retrial counter                   | tinyint            | NO   |     | 0                   |                |
17 | last_update  | Date of last successful trial     | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
18 | next_try     | Next retrial date                 | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
19 | renewed      | Date of last subscription renewal | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
20 | secret       |                                   | varchar(255)       | NO   |     |                     |                |
21
22 Indexes
23 ------------
24
25 | Name     | Fields   |
26 | -------- | -------- |
27 | PRIMARY  | id       |
28 | next_try | next_try |
29 | uid      | uid      |
30
31 Foreign Keys
32 ------------
33
34 | Field | Target Table | Target Field |
35 |-------|--------------|--------------|
36 | uid | [user](help/database/db_user) | uid |
37
38 Return to [database documentation](help/database)