@@ -, +, @@ --- 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 @@ -557,6 +557,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) @@ -778,6 +779,7 @@ __PACKAGE__->add_columns( { data_type => "datetime", datetime_undef_if_invalid => 1, + default_value => "current_timestamp()", is_nullable => 1, }, "lang", @@ -1930,8 +1932,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-15 06:51:43 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ozDOfb67H7/GHLI0o4DdyA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-25 11:43:17 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0qdmDuXLoc0Uvasoyaq/xw __PACKAGE__->has_many( "extended_attributes", --