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 Nighswonger <chris.nighswonger@gmail.com>
Sun, 6 Mar 2011 00:32:40 +0000 (19:32 -0500)
commitcbe0e92e416d17193616faf86d5f0e0809f52ba5
treec8711f31157a21aff172e5c8268870e33fb68189
parent8c094746510bcf9f256c9643b0a7595be6b4bc0a
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>
(cherry picked from commit fca88d102b91d3781c10c3d533a0fd942d4bd1f2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl