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:
Lucas Gass 2025-09-25 19:32:28 +00:00
parent f0d4240ee2
commit 9165c0fa4b
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 0 additions and 4 deletions

View File

@ -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