X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=Koha%2FSchema%2FResult%2FReserve.pm;h=2d7b397ec325e3e8b0f8955c8643e8bb2bff7027;hb=34a42570dcf52087b15aeb3605dbb27da9a18a82;hp=3a56d68e21f338726b024b40df5cc16cf9be27b9;hpb=7a68532048ac6edf62ccbfa0c1f5181fc682c1c7;p=srvgit diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm index 3a56d68e21..2d7b397ec3 100644 --- a/Koha/Schema/Result/Reserve.pm +++ b/Koha/Schema/Result/Reserve.pm @@ -74,6 +74,12 @@ __PACKAGE__->table("reserves"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 cancellation_reason + + data_type: 'varchar' + is_nullable: 1 + size: 80 + =head2 reservenotes data_type: 'longtext' @@ -82,7 +88,8 @@ __PACKAGE__->table("reserves"); =head2 priority data_type: 'smallint' - is_nullable: 1 + default_value: 1 + is_nullable: 0 =head2 found @@ -147,6 +154,12 @@ __PACKAGE__->table("reserves"); default_value: 0 is_nullable: 0 +=head2 non_priority + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -176,10 +189,12 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "cancellationdate", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + "cancellation_reason", + { data_type => "varchar", is_nullable => 1, size => 80 }, "reservenotes", { data_type => "longtext", is_nullable => 1 }, "priority", - { data_type => "smallint", is_nullable => 1 }, + { data_type => "smallint", default_value => 1, is_nullable => 0 }, "found", { data_type => "varchar", is_nullable => 1, size => 1 }, "timestamp", @@ -214,6 +229,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, "item_level_hold", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "non_priority", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -336,8 +353,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:48 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Pc5zh5iFbdwko5KS51Y9Uw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-31 14:16:48 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:goRy3ZQWpGNmicok5Av37Q __PACKAGE__->belongs_to( "item", @@ -366,7 +383,8 @@ __PACKAGE__->belongs_to( __PACKAGE__->add_columns( '+item_level_hold' => { is_boolean => 1 }, '+lowestPriority' => { is_boolean => 1 }, - '+suspend' => { is_boolean => 1 } + '+suspend' => { is_boolean => 1 }, + '+non_priority' => { is_boolean => 1 } ); sub koha_object_class {