CHANGE TO PREVIOUS .046 DATABASE UPDATE
authorRyan Higgins <rch@liblime.com>
Tue, 8 Jan 2008 21:17:00 +0000 (15:17 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 8 Jan 2008 22:13:17 +0000 (16:13 -0600)
commitf18482f17294e0ce406074e976b402b435849cc2
tree0d6973ea8292fbf42b51ad1e7bfbe4a9e0d96e44
parent4c832dca8b2022964109db4a903a7869080de349
CHANGE TO PREVIOUS .046 DATABASE UPDATE

This commit changes .046 updatedatebase , where itemnumber was changed
to int and keyed on items table.  As there is code in serials module that
uses itemnumber (text) as a list of itemnumbers, this change would cause data
loss if that field had multiple items in it.
Instead, we add a new table to link serial and items tables, so that
(1) we can have many items per serial issue, and
(2) staged upgrades that use the serial.itemnumber (text) list won't be affected.
Further commits will make use of the serialitems linking table.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Items.pm
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl