From 54fb68fe38201db17756018cf5770337f01167cb Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 13 May 2022 10:23:30 +0000 Subject: [PATCH] Bug 23486: DO NOT PUSH Schema update RM note - manual changes needed to generate --- Koha/Schema/Result/Borrower.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 5d0cac62c4..e6e5c49892 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/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", -- 2.30.2