From 17eeab918a145e3e5d25f2ef1e59cbeb1952eb83 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 3 Nov 2023 14:19:52 -0300 Subject: [PATCH] Bug 35190: DBIC schema Signed-off-by: Tomas Cohen Arazi (cherry picked from commit cfc63f77bbeb10f3b80c706361ffabed041853ef) Signed-off-by: Fridolin Somers --- Koha/Schema/Result/AdditionalField.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Koha/Schema/Result/AdditionalField.pm b/Koha/Schema/Result/AdditionalField.pm index 40cd8a506f..12474f7eca 100644 --- a/Koha/Schema/Result/AdditionalField.pm +++ b/Koha/Schema/Result/AdditionalField.pm @@ -52,8 +52,7 @@ name of the field =head2 authorised_value_category data_type: 'varchar' - default_value: (empty string) - is_nullable: 0 + is_nullable: 1 size: 32 is an authorised value category @@ -94,7 +93,7 @@ __PACKAGE__->add_columns( "name", { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, "authorised_value_category", - { data_type => "varchar", default_value => "", is_nullable => 0, size => 32 }, + { data_type => "varchar", is_nullable => 1, size => 32 }, "marcfield", { data_type => "varchar", default_value => "", is_nullable => 0, size => 16 }, "marcfield_mode", @@ -154,8 +153,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-15 17:35:48 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:q1mpEq5S0nZAOVXHqz+hEQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-03 17:19:32 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fnWeynuQnePWYM90CJKZ5Q # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.39.5