friendica/doc/database/db_push_subscriber.md

39 lines
1.9 KiB
Markdown
Raw Normal View History

2015-12-27 20:50:25 -05:00
Table push_subscriber
===========
2021-06-14 02:10:11 -04:00
Used for OStatus: Contains feed subscribers
2015-12-27 20:50:25 -05:00
2021-06-14 04:53:37 -04:00
Fields
------
2021-06-14 02:10:11 -04:00
| Field | Description | Type | Null | Key | Default | Extra |
| ------------ | --------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
| uid | User id | mediumint unsigned | NO | | 0 | |
| callback_url | | varchar(255) | NO | | | |
| topic | | varchar(255) | NO | | | |
| nickname | | varchar(255) | NO | | | |
| push | Retrial counter | tinyint | NO | | 0 | |
| last_update | Date of last successful trial | datetime | NO | | 0001-01-01 00:00:00 | |
| next_try | Next retrial date | datetime | NO | | 0001-01-01 00:00:00 | |
| renewed | Date of last subscription renewal | datetime | NO | | 0001-01-01 00:00:00 | |
| secret | | varchar(255) | NO | | | |
2015-12-27 20:50:25 -05:00
2021-06-14 04:53:37 -04:00
Indexes
------------
| Name | Fields |
2021-06-14 04:54:57 -04:00
|------|--------|
2021-06-14 04:53:37 -04:00
| PRIMARY | id |
| next_try | next_try |
| uid | uid |
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uid | [user](help/database/db_user) | uid |
2015-12-27 20:50:25 -05:00
Return to [database documentation](help/database)