Koha/misc
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
..
admin
bin
cronjobs Bug 24266: (alternate patch) Only use defined borrowernumbers in reconcile_balances.pl cron 2020-04-14 08:21:31 +01:00
devel Bug 25040: monkeypatch Schema::Loader for recent MariaDB 2020-04-14 08:26:10 +01:00
interface_customization
load_testing
maintenance Bug 23463: Replace ModItem with Koha::Item->store 2020-03-23 09:26:30 +00:00
migration_tools Bug 15214: bulkmarcimport should log if an authority has been updated 2020-03-24 10:54:46 +00:00
release_notes Update release notes for 19.11.00 release 2019-11-28 18:25:06 +00:00
search_tools Bug 23204: (RM follow-up) Use Koha::Script 2020-03-27 12:08:54 +00:00
translator Bug 24262: (follow-up) admit null values on labels 2020-03-09 13:54:24 +00:00
add_date_fields_to_marc_records.pl
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl
batchRebuildBiblioTables.pl Bug 24827: Standardise on 'UTF-8' as the encoding name 2020-03-16 14:45:39 +00:00
batchRebuildItemsTables.pl Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
batchRepairMissingBiblionumbers.pl
check_sysprefs.pl
commit_file.pl Bug 17845: Adjust few other occurrences 2020-03-10 15:18:28 +00:00
export_borrowers.pl
export_records.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
exportauth.pl
import_patrons.pl Bug 23473: Allow overwrite of passwords during import 2020-03-27 12:21:59 +00:00
koha-install-log
kohalib.pl
link_bibs_to_authorities.pl Bug 21957: Add a flag to ModBiblio to avoid linking auths if called from linker 2019-04-18 10:02:03 +00:00
load_yaml.pl Bug 24883: (RM follow-up) Use Koha::Script 2020-03-27 12:12:31 +00:00
mod_zebraqueue.pl
perlmodule_ls.pl
perlmodule_rm.pl
recreateIssueStatistics.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
sax_parser_print.pl
sax_parser_test.pl
sip_cli_emulator.pl
stage_file.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
z3950_responder.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00