Bug 12362: DBIC schema changes

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-04-23 11:52:36 +02:00
parent d70a60e5ce
commit 144bc5fe3e

View file

@ -103,7 +103,7 @@ any comments related to the transfer
=head2 reason
data_type: 'enum'
extra: {list => ["Manual","StockrotationAdvance","StockrotationRepatriation","ReturnToHome","ReturnToHolding","RotatingCollection","Reserve","LostReserve","CancelReserve"]}
extra: {list => ["Manual","StockrotationAdvance","StockrotationRepatriation","ReturnToHome","ReturnToHolding","RotatingCollection","Reserve","LostReserve","CancelReserve","TransferCancellation"]}
is_nullable: 1
what triggered the transfer
@ -185,6 +185,7 @@ __PACKAGE__->add_columns(
"Reserve",
"LostReserve",
"CancelReserve",
"TransferCancellation",
],
},
is_nullable => 1,
@ -270,8 +271,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-03-08 13:36:32
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HU4Pt8CfD6lX87BjK1g3Bw
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-04-23 09:48:46
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7iCCrApSJnoleyL9p3odQg
sub koha_object_class {
'Koha::Item::Transfer';