From a387c0c381a230210ddce60fd13a3c76b91402cd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 5 May 2025 12:42:46 +0200 Subject: [PATCH] Bug 39075: DBIC schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/ErmCounterFile.pm | 8 ++++---- Koha/Schema/Result/ErmCounterLog.pm | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Koha/Schema/Result/ErmCounterFile.pm b/Koha/Schema/Result/ErmCounterFile.pm index 2309c9014f..578ccb2dd9 100644 --- a/Koha/Schema/Result/ErmCounterFile.pm +++ b/Koha/Schema/Result/ErmCounterFile.pm @@ -67,7 +67,7 @@ content of the counter file data_type: 'timestamp' datetime_undef_if_invalid: 1 default_value: current_timestamp - is_nullable: 1 + is_nullable: 0 counter file upload date @@ -89,7 +89,7 @@ __PACKAGE__->add_columns( data_type => "timestamp", datetime_undef_if_invalid => 1, default_value => \"current_timestamp", - is_nullable => 1, + is_nullable => 0, }, ); @@ -143,8 +143,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-30 17:43:57 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PnXyJtZQBhfxPPNnkyxJ8Q +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-05-05 10:42:40 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zGKQM9bikamF7J64+neesw =head2 koha_object_class diff --git a/Koha/Schema/Result/ErmCounterLog.pm b/Koha/Schema/Result/ErmCounterLog.pm index 80c842afe9..a971177cd9 100644 --- a/Koha/Schema/Result/ErmCounterLog.pm +++ b/Koha/Schema/Result/ErmCounterLog.pm @@ -60,7 +60,7 @@ foreign key to erm_usage_data_providers data_type: 'timestamp' datetime_undef_if_invalid: 1 default_value: current_timestamp - is_nullable: 1 + is_nullable: 0 counter file import date @@ -95,7 +95,7 @@ __PACKAGE__->add_columns( data_type => "timestamp", datetime_undef_if_invalid => 1, default_value => \"current_timestamp", - is_nullable => 1, + is_nullable => 0, }, "filename", { data_type => "varchar", is_nullable => 1, size => 80 }, @@ -178,8 +178,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-30 17:43:57 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fEB6HZDsjTTJVWlnW+y/Ng +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-05-05 10:42:40 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:557G0h9pNamyqGj+YkEwXA __PACKAGE__->belongs_to( "patron",