From c88716730118c83c482be5fe7095a504c3e45b28 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 10 Oct 2017 14:23:39 -0300 Subject: [PATCH] Bug 13766: DBIC Schema changes Signed-off-by: Jonathan Druart --- 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 fcc9676b13..cdf2e245b6 100644 --- a/Koha/Schema/Result/Biblioitem.pm +++ b/Koha/Schema/Result/Biblioitem.pm @@ -64,9 +64,8 @@ __PACKAGE__->table("biblioitems"); =head2 ean - data_type: 'varchar' + data_type: 'mediumtext' is_nullable: 1 - size: 13 =head2 publicationyear @@ -226,7 +225,7 @@ __PACKAGE__->add_columns( "issn", { data_type => "mediumtext", is_nullable => 1 }, "ean", - { data_type => "varchar", is_nullable => 1, size => 13 }, + { data_type => "mediumtext", is_nullable => 1 }, "publicationyear", { data_type => "text", is_nullable => 1 }, "publishercode", @@ -327,8 +326,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-01-13 08:36:25 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cAlg2aIZ7hxeq+Hgl1AJcA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-10 14:22:49 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yNRDfNQ7yEvqsJV94x8b9A __PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" ); diff --git a/Koha/Schema/Result/Deletedbiblioitem.pm b/Koha/Schema/Result/Deletedbiblioitem.pm index ca5805fb3c..c17e181f82 100644 --- a/Koha/Schema/Result/Deletedbiblioitem.pm +++ b/Koha/Schema/Result/Deletedbiblioitem.pm @@ -63,9 +63,8 @@ __PACKAGE__->table("deletedbiblioitems"); =head2 ean - data_type: 'varchar' + data_type: 'mediumtext' is_nullable: 1 - size: 13 =head2 publicationyear @@ -220,7 +219,7 @@ __PACKAGE__->add_columns( "issn", { data_type => "mediumtext", is_nullable => 1 }, "ean", - { data_type => "varchar", is_nullable => 1, size => 13 }, + { data_type => "mediumtext", is_nullable => 1 }, "publicationyear", { data_type => "text", is_nullable => 1 }, "publishercode", @@ -289,8 +288,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("biblioitemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-01-13 08:36:25 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZFXb+BlsrsArv8qE2DrkkA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-10 14:22:50 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NFNV+3zrgb1wOCVv5wRNwQ # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5