View | Details | Raw Unified | Return to bug 24559
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_24559.perl (-1 / +19 lines)
Line 0 Link Here
0
- 
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{
4
        ALTER TABLE search_field
5
        MODIFY COLUMN type enum(
6
            '',
7
            'string',
8
            'date',
9
            'year',
10
            'number',
11
            'boolean',
12
            'sum',
13
            'isbn',
14
            'stdno'
15
        ) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'what type of data this holds, relevant when storing it in the search engine'
16
    });
17
    SetVersion( $DBversion );
18
    print "Upgrade to $DBversion done (Bug 24559 - add year option to es types)\n";
19
}

Return to bug 24559