-
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
ALTER TABLE search_field
MODIFY COLUMN type enum(
'',
'string',
'date',
'year',
'number',
'boolean',
'sum',
'isbn',
'stdno'
) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'what type of data this holds, relevant when storing it in the search engine'
});
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 24559 - add year option to es types)\n";
}