Bug 22428: Change datatype of field_value to text
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 21 Feb 2023 10:31:13 +0000 (10:31 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Feb 2023 20:52:21 +0000 (17:52 -0300)
commitcce48fc7d41ee9a0a38ae6b537830de886f86fb4
tree2d7b855ef545104f6d9185cf53441b4fa5f1e2fe
parentaba2453ad65f8cb4cc9ea609dbf5bb3ed6f241db
Bug 22428: Change datatype of field_value to text

This patch changes the datatype of the field_value column in
marc_modification_template_actions to "text". This is to stop text
strings longer than 100 characters from being chopped short and allow
longer strings up to 65,000 characters.

Test plan:
1) Follow the same steps outlined by Caroline in the problem statement
2) Apply patch
3) Follow the steps again and this time the text should upload with no
   problem

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug_22428-change_field_value_column.pl [new file with mode: 0755]
installer/data/mysql/kohastructure.sql