Bug 13984: DBRev 3.19.00.034

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Tomas Cohen Arazi 2015-04-29 15:23:43 -03:00
parent 057a20c4d7
commit a94d5297ab
3 changed files with 11 additions and 2 deletions

View File

@ -1 +0,0 @@
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES('CardnumberLength', '', '', 'Set a length for card numbers.', 'Free');

View File

@ -10291,6 +10291,16 @@ if ( CheckVersion($DBversion) ) {
SetVersion ($DBversion);
}
$DBversion = "3.19.00.034";
if ( CheckVersion($DBversion) ) {
$dbh->do(q|
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
VALUES('CardnumberLength', '', '', 'Set a length for card numbers.', 'Free')
|);
print "Upgrade to $DBversion done (Bug 13984: CardnumberLength syspref missing on some setups\n";
SetVersion ($DBversion);
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.

View File

@ -17,7 +17,7 @@ the kohaversion is divided in 4 parts :
use strict;
sub kohaversion {
our $VERSION = '3.19.00.033';
our $VERSION = '3.19.00.034';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install