From 4949680e27bf18cbe925992e99d0291206afa8b4 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 10 Jul 2025 17:19:00 +0100 Subject: [PATCH] Bug 20253: DBIC Schema --- Koha/Schema/Result/VendorEdiAccount.pm | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/VendorEdiAccount.pm b/Koha/Schema/Result/VendorEdiAccount.pm index 8a3d3fa79f5..c37e4c98c22 100644 --- a/Koha/Schema/Result/VendorEdiAccount.pm +++ b/Koha/Schema/Result/VendorEdiAccount.pm @@ -153,6 +153,13 @@ __PACKAGE__->table("vendor_edi_accounts"); is_nullable: 0 size: 256 +=head2 basket_name_source + + data_type: 'enum' + default_value: 'filename' + extra: {list => ["filename","purchase_order_number"]} + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -200,6 +207,13 @@ __PACKAGE__->add_columns( { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, "plugin", { data_type => "varchar", default_value => "", is_nullable => 0, size => 256 }, + "basket_name_source", + { + data_type => "enum", + default_value => "filename", + extra => { list => ["filename", "purchase_order_number"] }, + is_nullable => 1, + }, ); =head1 PRIMARY KEY @@ -272,8 +286,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-19 16:25:44 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jenUF3Wx7J7F5270mLQMbw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-07-10 16:18:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:96OQ/Cdvc0aPt0YnVzXzJQ __PACKAGE__->add_columns( '+auto_orders' => { is_boolean => 1 }, -- 2.50.0