Diff for "Code/MergeQueues/DBModels"

Not logged in - Log In / Register

Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2010-09-16 21:25:49
Size: 665
Editor: rockstar
Comment:
Revision 4 as of 2010-09-17 00:03:30
Size: 470
Editor: rockstar
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
  id
  registrant
  owner
  name
  description
  date_created
  config
  * id
  * registrant
  * owner
  * name
  * description
  * date_created

branch
 * config
Line 17: Line 19:
  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)
  * id
  * branch
  * queue

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

branch

  • config

branchqueue

  • id
  • branch
  • queue

Code/MergeQueues/DBModels (last edited 2010-09-22 21:46:46 by rockstar)