From fe1d0ee6f6d585214d8597b2d3fbb1c35d3abf63 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 10 Feb 2023 15:44:09 +0000 Subject: [PATCH] Bug 11844: [DO NOT PUSH] Schema changes Signed-off-by: Katrin Fischer --- Koha/Schema/Result/AdditionalField.pm | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/AdditionalField.pm b/Koha/Schema/Result/AdditionalField.pm index c03624478b..58c65e7ec3 100644 --- a/Koha/Schema/Result/AdditionalField.pm +++ b/Koha/Schema/Result/AdditionalField.pm @@ -67,6 +67,15 @@ is an authorised value category contains the marc field to copied into the record +=head2 marcfield_mode + + data_type: 'enum' + default_value: 'get' + extra: {list => ["get","set"]} + is_nullable: 0 + +mode of operation (get or set) for marcfield + =head2 searchable data_type: 'tinyint' @@ -88,6 +97,13 @@ __PACKAGE__->add_columns( { data_type => "varchar", default_value => "", is_nullable => 0, size => 32 }, "marcfield", { data_type => "varchar", default_value => "", is_nullable => 0, size => 16 }, + "marcfield_mode", + { + data_type => "enum", + default_value => "get", + extra => { list => ["get", "set"] }, + is_nullable => 0, + }, "searchable", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); @@ -138,8 +154,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-19 06:49:06 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4GqBQNlfw8ITsUZH0GidsQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-02-10 15:43:31 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ddjyb8kHmHDNdkAgzM+THg # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.30.2