print "Upgrade to $DBversion done (New timeout field in z3950servers)\n";
}
-$DBversion = "XXX";
-if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
- $dbh->do(qq{
- INSERT INTO systempreferences(variable,value,explanation,options,type)
- VALUES('UniqueItemFields', 'barcode', 'Space-separated list of fields that should be unique (used in acquisition module for item creation). Fields must be valid SQL column names of items table', '', 'Free')
- });
- print "Upgrade to $DBversion done (Added system preference 'UniqueItemFields')\n";
- SetVersion($DBversion);
-}
-
$DBversion = "3.07.00.037";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
$dbh->do("
SetVersion($DBversion);
}
+$DBversion = "3.07.00.038";
+if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
+ $dbh->do(qq{
+ INSERT INTO systempreferences(variable,value,explanation,options,type)
+ VALUES('UniqueItemFields', 'barcode', 'Space-separated list of fields that should be unique (used in acquisition module for item creation). Fields must be valid SQL column names of items table', '', 'Free')
+ });
+ print "Upgrade to $DBversion done (Added system preference 'UniqueItemFields')\n";
+ SetVersion($DBversion);
+}
+
=head1 FUNCTIONS
=head2 DropAllForeignKeys($table)
use strict;
sub kohaversion {
- our $VERSION = '3.07.00.037';
+ our $VERSION = '3.07.00.038';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install