Skip to content

Commit

Permalink
Update Schema Bug 16004 - Replace items.new with items.new_status
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan A Gallagher <[email protected]>
  • Loading branch information
brendan1226 committed Mar 31, 2016
1 parent 1864400 commit 7ba7039
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 5 additions & 6 deletions Koha/Schema/Result/Deleteditem.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
11 changes: 5 additions & 6 deletions Koha/Schema/Result/Item.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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" );

Expand Down

0 comments on commit 7ba7039

Please sign in to comment.