@@ -, +, @@ --- 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 @@ -573,6 +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()' is_nullable: 1 last time a patron has been seen (connected at the OPAC or staff interface) @@ -803,6 +804,7 @@ __PACKAGE__->add_columns( { data_type => "datetime", datetime_undef_if_invalid => 1, + default_value => "current_timestamp()", is_nullable => 1, }, "lang", @@ -1955,8 +1957,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-24 10:20:07 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:srYT5wjg7Jhy5CpmDjWv/g +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-05-03 13:47:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tO6TdHHQwboxfswtVRBLyA __PACKAGE__->has_many( "extended_attributes", --