@@ -, +, @@ --- Koha/Schema/Result/ClubHoldsToPatronHold.pm | 7 ++++--- Koha/Schema/Result/OldReserve.pm | 7 ++++--- Koha/Schema/Result/Reserve.pm | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) --- a/Koha/Schema/Result/ClubHoldsToPatronHold.pm +++ a/Koha/Schema/Result/ClubHoldsToPatronHold.pm @@ -50,7 +50,7 @@ __PACKAGE__->table("club_holds_to_patron_holds"); =head2 error_code data_type: 'enum' - extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred"]} + extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred","noReservesAllowed"]} is_nullable: 1 =head2 error_message @@ -86,6 +86,7 @@ __PACKAGE__->add_columns( "libraryNotFound", "libraryNotPickupLocation", "cannotBeTransferred", + "noReservesAllowed", ], }, is_nullable => 1, @@ -159,8 +160,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/T626DfqUi7SnXOyieUzYw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 10:45:06 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:n4et0P1PDu4WrArtnl02hg sub koha_objects_class { 'Koha::Club::Hold::PatronHolds'; --- a/Koha/Schema/Result/OldReserve.pm +++ a/Koha/Schema/Result/OldReserve.pm @@ -78,6 +78,7 @@ __PACKAGE__->table("old_reserves"); =head2 priority data_type: 'smallint' + default_value: 1 is_nullable: 0 =head2 found @@ -165,7 +166,7 @@ __PACKAGE__->add_columns( "reservenotes", { data_type => "longtext", is_nullable => 1 }, "priority", - { data_type => "smallint", is_nullable => 0 }, + { data_type => "smallint", default_value => 1, is_nullable => 0 }, "found", { data_type => "varchar", is_nullable => 1, size => 1 }, "timestamp", @@ -297,8 +298,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 08:36:19 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RDZP4TEaFZUexg9jVg6DbA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 10:45:06 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hqwQYNYrpsAAowBg3ImchA sub koha_object_class { 'Koha::Old::Hold'; --- a/Koha/Schema/Result/Reserve.pm +++ a/Koha/Schema/Result/Reserve.pm @@ -82,6 +82,7 @@ __PACKAGE__->table("reserves"); =head2 priority data_type: 'smallint' + default_value: 1 is_nullable: 0 =head2 found @@ -179,7 +180,7 @@ __PACKAGE__->add_columns( "reservenotes", { data_type => "longtext", is_nullable => 1 }, "priority", - { data_type => "smallint", is_nullable => 0 }, + { data_type => "smallint", default_value => 1, is_nullable => 0 }, "found", { data_type => "varchar", is_nullable => 1, size => 1 }, "timestamp", @@ -336,8 +337,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-25 11:25:52 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8f97w2B7OZT7KP+MKelI8g +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 10:45:06 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0UCAvY/ZiOsjg/vWYv5rJg __PACKAGE__->belongs_to( "item", --