Indexes and foreign keys added
This commit is contained in:
parent
2cd0c1d30d
commit
96f07c7288
73 changed files with 1366 additions and 8 deletions
|
@ -3,6 +3,9 @@ Table workerqueue
|
|||
|
||||
Background tasks queue entries
|
||||
|
||||
Fields
|
||||
------
|
||||
|
||||
| Field | Description | Type | Null | Key | Default | Extra |
|
||||
| --------- | ------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |
|
||||
| id | Auto incremented worker task id | int unsigned | NO | PRI | NULL | auto_increment |
|
||||
|
@ -16,4 +19,20 @@ Background tasks queue entries
|
|||
| retrial | Retrial counter | tinyint | NO | | 0 | |
|
||||
| done | Marked 1 when the task was done - will be deleted later | boolean | NO | | 0 | |
|
||||
|
||||
Indexes
|
||||
------------
|
||||
|
||||
| Name | Fields |
|
||||
|------|---------|
|
||||
| PRIMARY | id |
|
||||
| command | command |
|
||||
| done_command_parameter | done, command, parameter(64) |
|
||||
| done_executed | done, executed |
|
||||
| done_priority_retrial_created | done, priority, retrial, created |
|
||||
| done_priority_next_try | done, priority, next_try |
|
||||
| done_pid_next_try | done, pid, next_try |
|
||||
| done_pid_retrial | done, pid, retrial |
|
||||
| done_pid_priority_created | done, pid, priority, created |
|
||||
|
||||
|
||||
Return to [database documentation](help/database)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue