Browse Source
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>22.11.x
Tomás Cohen Arazi
2 years ago
4 changed files with 25 additions and 3 deletions
@ -0,0 +1,16 @@ |
|||
use Modern::Perl; |
|||
|
|||
return { |
|||
bug_number => 30924, |
|||
description => "Add missing RecallCancellation option to branchtransfers.reason ENUM", |
|||
up => sub { |
|||
my ($args) = @_; |
|||
my ($dbh) = @$args{qw(dbh)}; |
|||
|
|||
# Add RecallCancellation ENUM option to branchtransfers.reason |
|||
$dbh->do(q{ |
|||
ALTER TABLE branchtransfers MODIFY COLUMN reason |
|||
ENUM('Manual','StockrotationAdvance','StockrotationRepatriation','ReturnToHome','ReturnToHolding','RotatingCollection','Reserve','LostReserve','CancelReserve','TransferCancellation','Recall','RecallCancellation') COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'what triggered the transfer' |
|||
}); |
|||
}, |
|||
}; |
Loading…
Reference in new issue