SetVersion($DBversion);
}
-
$DBversion = '3.19.00.017';
-if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+if ( CheckVersion($DBversion) ) {
# First create the column
$dbh->do("ALTER TABLE issuingrules ADD onshelfholds tinyint(1) default 0 NOT NULL");
# Now update the column
}
$DBversion = "3.19.00.026";
-if(CheckVersion($DBversion)) {
+if( CheckVersion($DBversion) ) {
if ( C4::Context->preference('marcflavour') eq 'MARC21' ) {
$dbh->do(q{
INSERT IGNORE INTO auth_tag_structure (authtypecode, tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value) VALUES
SetVersion($DBversion);
}
-$DBversion = "3.19.00.XXX";
-if(CheckVersion($DBversion)) {
+$DBversion = "3.19.00.028";
+if( CheckVersion($DBversion) ) {
$dbh->do(q{
ALTER TABLE old_issues ADD issue_id INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST
});
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.
use strict;
sub kohaversion {
- our $VERSION = '3.19.00.027';
+ our $VERSION = '3.19.00.028';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install