More db fields

Added:
`type`
`source`
`assignee`
`src_options`
`src_id`
`src_domain`


cc/ @jbarrett @MariagraziaAlastra @russellholt