background_jobs

0 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT 10 √ null
status VARCHAR 32 √ NULL
progress INT 10 √ NULL
size INT 10 √ NULL
borrowernumber INT 10 √ NULL
report_id INT 10 √ NULL
saved_sql.id background_jobs_report_id_fk N

foreign key to saved_sql.id for run_report jobs

type VARCHAR 64 √ NULL
queue VARCHAR 191 'default'

Name of the queue the job is sent to

data LONGTEXT 2147483647 √ NULL
context LONGTEXT 2147483647 √ NULL

JSON-serialized context information for the job

enqueued_on DATETIME 19 √ NULL
started_on DATETIME 19 √ NULL
ended_on DATETIME 19 √ NULL

Indexes

Constraint Name Type Sort Column(s)
background_jobs_s_pk Primary key Asc id
borrowernumber Performance Asc borrowernumber
PRIMARY Must be unique Asc id
queue Performance Asc queue
report_id Performance Asc report_id
status Performance Asc status
type_enqueued_on Performance Asc/Asc type + enqueued_on
type_status Performance Asc/Asc type + status

Relationships