Allow viewing and manipulating the queue for jobs

Is `BIGINT` correct? We seem to be treating it as varchar in the rest of this module.