Bug 5642: Item field serial enumeration (enumchron) should be longer
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sun, 27 Feb 2011 08:49:50 +0000 (03:49 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 5 Mar 2011 07:20:02 +0000 (20:20 +1300)
commitfca88d102b91d3781c10c3d533a0fd942d4bd1f2
treef125b5ecf8ba822386cbe70441d327ed556ae025
parentca8ae9b8ccd0e32cd1902bc707dd251217915028
Bug 5642: Item field serial enumeration (enumchron) should be longer

Field enumchron in items table is now varchar(80).
We have records that need a much longer field, even up to 400 or 500 chars.
I suggest to change its type to TEXT (variable length with max 64K; tinytext
goes up to 255 chars and is just too short).
Mediumtext or longtext are not needed; as a side note these types are used in
the items table for e.g. booksellerid and more_subfields_xml..

Revised original patch thanks to Ian Walls: update kohatructure.sql. Copied the change in deleteditems as well.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl