From 7ba7039c33c1c8f3c46a765ab0f535251afd977f Mon Sep 17 00:00:00 2001 From: Brendan A Gallagher Date: Thu, 31 Mar 2016 17:10:59 +0000 Subject: [PATCH] Update Schema Bug 16004 - Replace items.new with items.new_status Signed-off-by: Brendan A Gallagher --- Koha/Schema/Result/Deleteditem.pm | 11 +++++------ Koha/Schema/Result/Item.pm | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm index 12dda35009..38286e8ea1 100644 --- a/Koha/Schema/Result/Deleteditem.pm +++ b/Koha/Schema/Result/Deleteditem.pm @@ -270,9 +270,8 @@ __PACKAGE__->table("deleteditems"); is_nullable: 1 size: 32 -=head2 new +=head2 new_status - accessor: undef data_type: 'varchar' is_nullable: 1 size: 32 @@ -379,8 +378,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 32 }, "stocknumber", { data_type => "varchar", is_nullable => 1, size => 32 }, - "new", - { accessor => undef, data_type => "varchar", is_nullable => 1, size => 32 }, + "new_status", + { data_type => "varchar", is_nullable => 1, size => 32 }, ); =head1 PRIMARY KEY @@ -396,8 +395,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("itemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uu6dMCUUlDOkveF9SYkKew +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-31 17:10:17 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:npNexLgE7AxLp6iVy1FxgQ # 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 36e1e910ab..9b38812fa8 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -273,9 +273,8 @@ __PACKAGE__->table("items"); is_nullable: 1 size: 32 -=head2 new +=head2 new_status - accessor: undef data_type: 'varchar' is_nullable: 1 size: 32 @@ -387,8 +386,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 32 }, "stocknumber", { data_type => "varchar", is_nullable => 1, size => 32 }, - "new", - { accessor => undef, data_type => "varchar", is_nullable => 1, size => 32 }, + "new_status", + { data_type => "varchar", is_nullable => 1, size => 32 }, ); =head1 PRIMARY KEY @@ -640,8 +639,8 @@ __PACKAGE__->might_have( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rhW0Ddhh2hLoV//7nonLCA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-31 17:10:17 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f3uSqG4SRK96xnD8HnhcFA __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); -- 2.20.1