Created attachment 36100 [details] [review] Bug 13743 - Primary key for issues-table Each table must have a primary key. This makes extending issues-related functionality much easier. TEST PLAN: 1. Check-out Items for you. 2. Check-in Items from you. 3. Check-out using the SIP2-server. 4. Check-in using the SIP2-server.
Created attachment 36101 [details] [review] Bug 13743 - Primary key for issues-table Each table must have a primary key. This makes extending issues-related functionality much easier. TEST PLAN: 1. Check-out Items for you. 2. Check-in Items from you. 3. Check-out using the SIP2-server. 4. Check-in using the SIP2-server.
Created attachment 36102 [details] [review] Bug 13743 - Primary key for issues-table Each table must have a primary key. This makes extending issues-related functionality much easier. TEST PLAN: 1. Check-out Items for you. 2. Check-in Items from you. 3. Check-out using the SIP2-server. 4. Check-in using the SIP2-server.
Created attachment 37060 [details] [review] Bug 13743 - Primary key for issues-table Each table must have a primary key. This makes extending issues-related functionality much easier. TEST PLAN: 1. Check-out Items for you. 2. Check-in Items from you. 3. Check-out using the SIP2-server. 4. Check-in using the SIP2-server.
Hi Olli, I think this doesn't look quite right - the database update instance is in the wrong place in the file and I feel the old_issues should not auto_increment. Also I think this wouldn't renumber the old entries? Please take a look at Kyle's patch on bug 13790 and also my comments on bug 9303. We did a similar patch for reserves and old_reserves in the past, maybe that could be helpful to look at as well.
*** This bug has been marked as a duplicate of bug 13790 ***