From 3d1882fa62932126235cb908e82b13598cf40cbd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 3 May 2023 15:41:51 +0200 Subject: [PATCH] Bug 28328: DBIC schema changes Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- Koha/Schema/Result/Biblioitem.pm | 9 ++++----- Koha/Schema/Result/Deletedbiblioitem.pm | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Koha/Schema/Result/Biblioitem.pm b/Koha/Schema/Result/Biblioitem.pm index 94d62f451a..2711d3a566 100644 --- a/Koha/Schema/Result/Biblioitem.pm +++ b/Koha/Schema/Result/Biblioitem.pm @@ -174,9 +174,8 @@ publication place (MARC21 260$a) =head2 lccn - data_type: 'varchar' + data_type: 'longtext' is_nullable: 1 - size: 25 library of congress control number (MARC21 010$a) @@ -294,7 +293,7 @@ __PACKAGE__->add_columns( "place", { data_type => "varchar", is_nullable => 1, size => 255 }, "lccn", - { data_type => "varchar", is_nullable => 1, size => 25 }, + { data_type => "longtext", is_nullable => 1 }, "url", { data_type => "mediumtext", is_nullable => 1 }, "cn_source", @@ -358,8 +357,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q5VdRYkLa95Kc96wiwLh/g +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-03 13:35:04 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4+THJV78AKMkqswe76Ul0Q __PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" ); diff --git a/Koha/Schema/Result/Deletedbiblioitem.pm b/Koha/Schema/Result/Deletedbiblioitem.pm index f0804b5e13..9eb3d9ffd3 100644 --- a/Koha/Schema/Result/Deletedbiblioitem.pm +++ b/Koha/Schema/Result/Deletedbiblioitem.pm @@ -173,9 +173,8 @@ publication place (MARC21 260$a) =head2 lccn - data_type: 'varchar' + data_type: 'longtext' is_nullable: 1 - size: 25 library of congress control number (MARC21 010$a) @@ -288,7 +287,7 @@ __PACKAGE__->add_columns( "place", { data_type => "varchar", is_nullable => 1, size => 255 }, "lccn", - { data_type => "varchar", is_nullable => 1, size => 25 }, + { data_type => "longtext", is_nullable => 1 }, "url", { data_type => "mediumtext", is_nullable => 1 }, "cn_source", @@ -320,8 +319,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("biblioitemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rGXNjpclQJ3+na+MYa4YFA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-03 13:35:04 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/l/jW3IssAIEgceZPBIEGQ sub koha_objects_class { 'Koha::Old::Biblioitems'; -- 2.40.1