Code review comment for lp:~jtv/launchpad/db-bug-499404

Revision history for this message
Stuart Bishop (stub) wrote :

> Fine if we drop ON DELETE CASCADE from the branch foreign key definition.

And change the SERIAL UNIQUE to SERIAL PRIMARY KEY.

(which we would have picked up when staging failed to rebuild since we can't replicate tables without primary keys).

Using BranchJob may indeed be a better alternative - it already has everything you need. If you want a separate table I think we need some sort of rationalization.

« Back to merge proposal