@@ -, +, @@ --- Koha/Schema/Result/Borrower.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Schema/Result/Borrower.pm +++ a/Koha/Schema/Result/Borrower.pm @@ -573,7 +573,7 @@ time of last change could be useful for synchronization with external systems (a data_type: 'datetime' datetime_undef_if_invalid: 1 - default_value: 'current_timestamp()' + default_value: 'current_timestamp' is_nullable: 1 last time a patron has been seen (connected at the OPAC or staff interface) @@ -804,7 +804,7 @@ __PACKAGE__->add_columns( { data_type => "datetime", datetime_undef_if_invalid => 1, - default_value => "current_timestamp()", + default_value => \"current_timestamp", is_nullable => 1, }, "lang", --