Updates database structure documentation

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

View file

@ -1,14 +1,18 @@
Table workerqueue
=================
===========
Background tasks queue entries
| Field | Description | Type | Null | Key | Default | Extra |
|-----------|------------------|---------------------|------|-----|---------------------|----------------|
| id | sequential ID | int(11) | NO | PRI | NULL | auto_increment |
| parameter | | text | NO | | NULL | |
| priority | | tinyint(3) unsigned | NO | | 0 | |
| created | | datetime | NO | MUL | 0001-01-01 00:00:00 | |
| pid | | int(11) | NO | | 0 | |
| executed | | datetime | NO | | 0001-01-01 00:00:00 | |
| done | set to 1 if done | tinyint(1) | NO | | 0 | |
| Field | Description | Type | Null | Key | Default | Extra |
| ----- | ----------- | ---- | ---- | --- | ------- | ----- |
| id | Auto incremented worker task id | int unsigned | YES | PRI | | auto_increment |
| command | Task command | varchar(100) | NO | | | |
| parameter | Task parameter | mediumtext | NO | | | |
| priority | Task priority | tinyint unsigned | YES | | 0 | |
| created | Creation date | datetime | YES | | 0001-01-01 00:00:00 | |
| pid | Process id of the worker | int unsigned | YES | | 0 | |
| executed | Execution date | datetime | YES | | 0001-01-01 00:00:00 | |
| next_try | Next retrial date | datetime | YES | | 0001-01-01 00:00:00 | |
| retrial | Retrial counter | tinyint | YES | | 0 | |
| done | Marked 1 when the task was done - will be deleted later | boolean | YES | | 0 | |
Return to [database documentation](help/database)