1
0
Fork 0

Updates database structure documentation

This commit is contained in:
Michael 2021-06-13 20:33:50 +00:00
commit 84ab5d6159
83 changed files with 1289 additions and 796 deletions

View file

@ -1,10 +1,18 @@
Table push_subscriber
=====================
===========
Used for OStatus: Contains feed subscribers
| Field | Description | Type | Null | Key | Default | Extra |
|---------|------------------|---------|------|-----|---------|----------------|
| id | sequential ID | int(11) | NO | PRI | NULL | auto_increment |
| poll_id | | int(11) | NO | MUL | 0 | |
| choice | | int(11) | NO | MUL | 0 | |
| Field | Description | Type | Null | Key | Default | Extra |
| ----- | ----------- | ---- | ---- | --- | ------- | ----- |
| id | sequential ID | int unsigned | YES | PRI | | auto_increment |
| uid | User id | mediumint unsigned | YES | | 0 | |
| callback_url | | varchar(255) | YES | | | |
| topic | | varchar(255) | YES | | | |
| nickname | | varchar(255) | YES | | | |
| push | Retrial counter | tinyint | YES | | 0 | |
| last_update | Date of last successful trial | datetime | YES | | 0001-01-01 00:00:00 | |
| next_try | Next retrial date | datetime | YES | | 0001-01-01 00:00:00 | |
| renewed | Date of last subscription renewal | datetime | YES | | 0001-01-01 00:00:00 | |
| secret | | varchar(255) | YES | | | |
Return to [database documentation](help/database)