@@ -, +, @@ --- Koha/Schema/Result/Borrower.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/Koha/Schema/Result/Borrower.pm +++ a/Koha/Schema/Result/Borrower.pm @@ -581,6 +581,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' is_nullable: 1 last time a patron has been seen (connected at the OPAC or staff interface) @@ -813,6 +814,7 @@ __PACKAGE__->add_columns( { data_type => "datetime", datetime_undef_if_invalid => 1, + default_value => \"current_timestamp", is_nullable => 1, }, "lang", @@ -1965,8 +1967,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-05-06 19:32:13 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lGlRQ4XvRdsrqTye6sDpYg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-05-13 10:20:58 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/uDNeoywItcYvuNkkOSJAg __PACKAGE__->has_many( "extended_attributes", --