From 7afea9ac2aab3a84ea16fda60930ff7170a4a91d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 26 Jan 2018 16:32:42 +0000 Subject: [PATCH] Schema changes https://bugs.koha-community.org/show_bug.cgi?id=19360 --- Koha/Schema/Result/Deleteditem.pm | 12 ++++++++++-- Koha/Schema/Result/Item.pm | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm index 38286e8..c07b604 100644 --- a/Koha/Schema/Result/Deleteditem.pm +++ b/Koha/Schema/Result/Deleteditem.pm @@ -276,6 +276,12 @@ __PACKAGE__->table("deleteditems"); is_nullable: 1 size: 32 +=head2 link_text + + data_type: 'varchar' + is_nullable: 1 + size: 200 + =cut __PACKAGE__->add_columns( @@ -380,6 +386,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 32 }, "new_status", { data_type => "varchar", is_nullable => 1, size => 32 }, + "link_text", + { data_type => "varchar", is_nullable => 1, size => 200 }, ); =head1 PRIMARY KEY @@ -395,8 +403,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("itemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-31 17:10:17 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:npNexLgE7AxLp6iVy1FxgQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-01-26 16:30:46 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0xNeg4z6klkIW5FqWDxZsw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm index ce85bd7..d3ced29 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -280,6 +280,12 @@ __PACKAGE__->table("items"); is_nullable: 1 size: 32 +=head2 link_text + + data_type: 'varchar' + is_nullable: 1 + size: 200 + =cut __PACKAGE__->add_columns( @@ -394,6 +400,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 32 }, "new_status", { data_type => "varchar", is_nullable => 1, size => 32 }, + "link_text", + { data_type => "varchar", is_nullable => 1, size => 200 }, ); =head1 PRIMARY KEY @@ -675,8 +683,8 @@ __PACKAGE__->might_have( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-24 13:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vf1sBZrpUo0Cvi896fjNuA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-01-26 16:30:46 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4Rsn87CFIhmmIs2nKLb5Ng __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); -- 2.1.4