Koha/misc/devel
Martin Renvoize 3dd79180f3
Bug 25040: monkeypatch Schema::Loader for recent MariaDB
Recent versions of MariaDB changed the output of 'DESCRIBE' for
timestamp columns with defaults from `CURRENT_TIMESTAMP` to
`current_timestamp()`.  As such the code inside
DBIx::Class::Schema::Loader which catches such cases and outputs
`\"current_timestamp"` as a sensible cross platform default is missed
and this leads of inconsistent class files and bugs with out default
lookup code in Koha::Objects.

This patch serves as a backport of the code I have submitted upstream
such that out developers can continue to use update_dbix_class_files.pl
to build their schema classes from the database and regardless of their
db server version get a consistently correct output.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-14 08:26:10 +01:00
..
add_missing_filters.pl Bug 21576: Add a developer script to fix missing TT filters 2018-10-26 17:09:51 +00:00
coverage.pl Bug 13899: (QA followup) POD and usage message fixes 2015-05-26 14:22:34 -03:00
create_superlibrarian.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
install_plugins.pl Bug 20415: Remove UseKohaPlugins system preference 2020-03-26 11:42:02 +00:00
update_dbix_class_files.pl Bug 25040: monkeypatch Schema::Loader for recent MariaDB 2020-04-14 08:26:10 +01:00