Bug 11268: increase size of biblioitems.url
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 18 Nov 2013 19:18:15 +0000 (14:18 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 31 Jan 2014 15:53:36 +0000 (15:53 +0000)
commitecd8dabf76ec409a96bee6b699ab055c3903e1c0
tree8ef575fd768b3bdae4505979a50a994fc99b4178
parentf5ac575cf71ec39ea035888ab869e8f04154bef0
Bug 11268: increase size of biblioitems.url

The URL field in biblioitems is defined as a varchar(255) which is large
enough for most URLs but not all. This patch converts it to a
TEXT field to make sure it is capable of storing all valid URLs.

Test Plan:
1) Attempt to a URL that is greater than 255 chacters long in a record
   (856$u in MARC21)
2) Save the record, note the url gets truncated
3) Apply this patch
4) Repeat step 1
5) Note the entire url is saved

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl