From e6965519879d909067caa58c5ebc2aa7f642fa4a Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 14 Mar 2022 14:25:00 +0000 Subject: [PATCH] Bug 23486: DO NOT PUSH Schema update --- 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 5d43423cb8..c13214f9d6 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/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", @@ -1915,8 +1917,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-02-25 00:33:23 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qPGKczsaKaLxxiNzZS5zdQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-14 14:20:11 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:phVq5EIFgRuBMFc/wzk30Q __PACKAGE__->has_many( "extended_attributes", -- 2.30.2