From d6bc8fe7133b0c8e6e55c5a3fba59c94a7a72ebf Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 5 May 2025 13:29:57 +0200 Subject: [PATCH] Bug 38663: DBIC schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/AdditionalFieldValue.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Koha/Schema/Result/AdditionalFieldValue.pm b/Koha/Schema/Result/AdditionalFieldValue.pm index edaa851427..79fc5ccc9a 100644 --- a/Koha/Schema/Result/AdditionalFieldValue.pm +++ b/Koha/Schema/Result/AdditionalFieldValue.pm @@ -42,6 +42,7 @@ foreign key references additional_fields(id) =head2 record_id data_type: 'varchar' + default_value: (empty string) is_nullable: 0 size: 11 @@ -64,7 +65,7 @@ __PACKAGE__->add_columns( "field_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "record_id", - { data_type => "varchar", is_nullable => 0, size => 11 }, + { data_type => "varchar", default_value => "", is_nullable => 0, size => 11 }, "value", { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, ); @@ -99,8 +100,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-03-11 13:19:15 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:577v+Jx91m0F2VhPy4+iRA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-05-05 11:29:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zjqT3FugMgXT43XCfs6G6g # You can replace this text with custom code or comments, and it will be preserved on regeneration