Browse Source

Update Schema Bug 16004 - Replace items.new with items.new_status

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
new_12478_elasticsearch
Brendan A Gallagher 6 years ago
parent
commit
7ba7039c33
  1. 11
      Koha/Schema/Result/Deleteditem.pm
  2. 11
      Koha/Schema/Result/Item.pm

11
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

11
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" );

Loading…
Cancel
Save