Bug 27252: DBRev 19.11.13.001
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit f40b7c2b6c)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
parent
a4f7bbfd1c
commit
a4d35d3de8
|
|
@ -1,9 +0,0 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
# you can use $dbh here like:
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
|
||||
('ElasticsearchCrossFields', '0', '', 'Enable "cross_fields" option for searches using Elastic search.', 'YesNo')
|
||||
});
|
||||
NewVersion( $DBversion, 27252, "Add ElasticsearchCrossFields system preference");
|
||||
}
|
||||
|
|
@ -20762,13 +20762,22 @@ if ( CheckVersion( $DBversion ) ) {
|
|||
SetVersion( $DBversion );
|
||||
}
|
||||
|
||||
|
||||
$DBversion = "19.11.13.000";
|
||||
if ( CheckVersion( $DBversion ) ) {
|
||||
print "Upgrade to $DBversion done (19.11.13 release)\n";
|
||||
SetVersion( $DBversion );
|
||||
}
|
||||
|
||||
$DBversion = '19.11.13.001';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
|
||||
('ElasticsearchCrossFields', '0', '', 'Enable "cross_fields" option for searches using Elastic search.', 'YesNo')
|
||||
});
|
||||
print "Upgrade to $DBversion done (Bug 27252 - Add ElasticsearchCrossFields system preference)\n";
|
||||
SetVersion( $DBversion );
|
||||
}
|
||||
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';
|
||||
|
|
|
|||
Loading…
Reference in New Issue