Bug 23260: Fix DB update to NOT allow for NULL borrowernumber
Signed-off-by: Peter Moore <peter@mrcpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
f0d4240ee2
commit
9165c0fa4b
|
|
@ -9,10 +9,6 @@ return {
|
|||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
# Do you stuffs here
|
||||
$dbh->do("ALTER TABLE items_last_borrower MODIFY COLUMN `borrowernumber` int(11) NULL");
|
||||
say_success( $out, "items_last_borrower updated to allow NULL borrowernumbers" );
|
||||
|
||||
$dbh->do(
|
||||
q{
|
||||
ALTER TABLE items_last_borrower
|
||||
|
|
|
|||
Loading…
Reference in New Issue