Bug 22258: Elasticsearch: Add array as an alternative MARC format
[koha.git] / installer / data / mysql / atomicupdate / bug_22258.perl
1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3     $dbh->do(q{
4         INSERT IGNORE INTO `systempreferences` (`variable`,`value`,`explanation`,`options`,`type`) VALUES
5         ('ElasticsearchMARCFormat', 'ISO2709', 'ISO2709|ARRAY', 'Elasticsearch MARC format. ISO2709 format is recommended as it is faster and takes less space, whereas array is searchable.', 'Choice')
6     });
7
8     # Always end with this (adjust the bug info)
9     SetVersion( $DBversion );
10     print "Upgrade to $DBversion done (Bug 22258 - Add ElasticsearchMARCFormat preference)\n";
11 }