Bug 39062: DBRev 24.12.00.026

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2025-04-22 06:45:42 +00:00
parent 4f2ee1640d
commit a8cb53a045
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 3 additions and 6 deletions

View File

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "24.12.00.025";
$VERSION = "24.12.00.026";
sub version {
return $VERSION;

View File

@ -8,7 +8,6 @@ return {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(
q{ALTER TABLE items MODIFY COLUMN stocknumber varchar(80) DEFAULT NULL COMMENT 'inventory number (MARC21 952$i)'}
);
@ -16,9 +15,7 @@ return {
q{ALTER TABLE deleteditems MODIFY COLUMN stocknumber varchar(80) DEFAULT NULL COMMENT 'inventory number (MARC21 952$i)'}
);
# Print useful stuff here
# tables
say $out "Increased length of items.stocknumber";
say $out "Increased length of deleteditems.stocknumber";
say_success( $out, "Increased length of items.stocknumber" );
say_success( $out, "Increased length of deleteditems.stocknumber" );
},
};