Bug 23579: Remove default value for MEDIUMTEXT borrower_modifications.changed_fields
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 25 Oct 2019 08:15:42 +0000 (10:15 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 25 Oct 2019 09:46:39 +0000 (10:46 +0100)
commit1d64b1b63df406508bdcde6164b179833f712aeb
tree0d7887a6931b5af66406c2bf73874419ab2c6b1c
parent37b2e05b292c9f9e2a380467238fc3389a18f88a
Bug 23579: Remove default value for MEDIUMTEXT borrower_modifications.changed_fields

Installation under Ubuntu 18.04 is blocked:
install.pl: DBD::mysql::st execute failed: BLOB, TEXT, GEOMETRY or JSON
column 'changed_fields' can't have a default value at
/usr/local/share/perl5/DBIx/RunSQL.pm line 273.

https://dev.mysql.com/doc/refman/5.7/en/data-type-defaults.html
"""
 The BLOB, TEXT, GEOMETRY, and JSON data types cannot be assigned a
 default value.
"""

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
installer/data/mysql/kohastructure.sql