Merge Queues Database Model
First, the branchmergerobot table needs to be deleted, because it'll be easier to just reproduce the table. Any data in there shouldn't have been in there anyway, so it can be deleted.
Ideally, we only create 2 new database tables. They would look like this:
branchmergequeue
- id
- registrant
- owner
- name
- description
- date_created
- config
branchqueue
- id
- branch
- queue
branchmergequeueitem
- id
- proposal
- queue
- queuer (? Is there a better name for this)
- log (a reference to a librarian file of the log)
- state (queued, started, completed, failed)
- index (index in the queue)