From 5b93407bbaf8e4db0f7a2c49a7b9df55444fee3e Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 3 May 2022 13:48:49 +0000 Subject: [PATCH] Bug 23486: DO NOT PUSH Schema update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Séverine QUEUNE --- 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 175710d0f5..c19d3f3f31 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/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", -- 2.30.2