From 00e4ef615c20d0c7d4eac52b6e2d7fb8185c640b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 5 Mar 2026 14:39:26 +0000 Subject: [PATCH] Bug 41297: Automated schema update --- Koha/Schema/Result/Aqcontact.pm | 21 ++++++++++++++++----- Koha/Schema/Result/VendorEdiAccount.pm | 4 ++-- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/Koha/Schema/Result/Aqcontact.pm b/Koha/Schema/Result/Aqcontact.pm index fbb25c59660..9363d938a40 100644 --- a/Koha/Schema/Result/Aqcontact.pm +++ b/Koha/Schema/Result/Aqcontact.pm @@ -126,6 +126,14 @@ is this the primary contact for acquisitions messages is this the primary contact for serials messages +=head2 edi_error_notification + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +should this contact receive EDI error notifications (e.g. duplicate invoices) + =head2 booksellerid data_type: 'integer' @@ -161,6 +169,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "serialsprimary", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "edi_error_notification", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "booksellerid", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, ); @@ -199,11 +209,12 @@ __PACKAGE__->belongs_to( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IefjqDsoXPLWKSfhYGne1A __PACKAGE__->add_columns( - '+orderacquisition' => { is_boolean => 1 }, - '+claimacquisition' => { is_boolean => 1 }, - '+claimissues' => { is_boolean => 1 }, - '+acqprimary' => { is_boolean => 1 }, - '+serialsprimary' => { is_boolean => 1 }, + '+orderacquisition' => { is_boolean => 1 }, + '+claimacquisition' => { is_boolean => 1 }, + '+claimissues' => { is_boolean => 1 }, + '+acqprimary' => { is_boolean => 1 }, + '+serialsprimary' => { is_boolean => 1 }, + '+edi_error_notification' => { is_boolean => 1 }, ); =head2 koha_object_class diff --git a/Koha/Schema/Result/VendorEdiAccount.pm b/Koha/Schema/Result/VendorEdiAccount.pm index e5095af66d2..b9dee7cfd9d 100644 --- a/Koha/Schema/Result/VendorEdiAccount.pm +++ b/Koha/Schema/Result/VendorEdiAccount.pm @@ -248,8 +248,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-11-03 20:27:30 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1sHAak6V/HC2E1AUHzDapg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-11-26 00:00:00 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:original_schema_bug_41297 __PACKAGE__->add_columns( '+auto_orders' => { is_boolean => 1 }, -- 2.53.0