Bug 23081: DBIC Update

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2020-04-27 11:39:19 +01:00
parent 93c0f4420d
commit 40cc807558
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F
2 changed files with 8 additions and 14 deletions

View file

@ -156,8 +156,8 @@ __PACKAGE__->table("deleteditems");
=head2 issues
data_type: 'smallint'
is_nullable: 0
default_value: 0
is_nullable: 1
=head2 renewals
@ -342,10 +342,7 @@ __PACKAGE__->add_columns(
"coded_location_qualifier",
{ data_type => "varchar", is_nullable => 1, size => 10 },
"issues",
{ data_type => "smallint",
is_nullable => 0,
default_value => 0,
},
{ data_type => "smallint", default_value => 0, is_nullable => 1 },
"renewals",
{ data_type => "smallint", is_nullable => 1 },
"reserves",
@ -410,8 +407,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("itemnumber");
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1+z3OHx5OpOcP82k8vyAaA
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-27 10:38:13
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MsPWE8Trd034UYFcZVbCtw
sub koha_objects_class {
'Koha::Old::Items';

View file

@ -159,8 +159,8 @@ __PACKAGE__->table("items");
=head2 issues
data_type: 'smallint'
is_nullable: 0
default_value: 0
is_nullable: 1
=head2 renewals
@ -356,10 +356,7 @@ __PACKAGE__->add_columns(
"coded_location_qualifier",
{ data_type => "varchar", is_nullable => 1, size => 10 },
"issues",
{ data_type => "smallint",
is_nullable => 0,
default_value => 0,
},
{ data_type => "smallint", default_value => 0, is_nullable => 1 },
"renewals",
{ data_type => "smallint", is_nullable => 1 },
"reserves",
@ -750,8 +747,8 @@ __PACKAGE__->has_many(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CcrMhgq+PQ1MHV6jZEN8wA
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-27 10:38:13
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IpI7wRweeZCbCeU1LhZbRQ
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );