]> git.koha-community.org Git - koha.git/commit
Bug 18427: Add a primary key to serialitems
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 13 Apr 2017 11:34:36 +0000 (13:34 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Apr 2017 18:01:33 +0000 (14:01 -0400)
commit0e0f3e49460611c74184ee48d3b66762c55ac181
tree195c824692a6896df563bc36645994f95921af54
parentcb5d44e2f14dd0f74557999987c6942841d2503c
Bug 18427: Add a primary key to serialitems

We drop the unique index serialitemsidx and add a primary key consisting
of itemnumber just as the unique key did.

Test plan:
Run the db revision.
Apply bug 18182. The TestBuilder.t should no longer fail on serialitems.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug18427.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql