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

(-)a/Koha.pm (-1 / +1 lines)
Lines 29-35 use vars qw{ $VERSION }; Link Here
29
# - #4 : the developer version. The 4th number is the database subversion.
29
# - #4 : the developer version. The 4th number is the database subversion.
30
#        used by developers when the database changes. updatedatabase take care of the changes itself
30
#        used by developers when the database changes. updatedatabase take care of the changes itself
31
#        and is automatically called by Auth.pm when needed.
31
#        and is automatically called by Auth.pm when needed.
32
$VERSION = "18.06.00.002";
32
$VERSION = "18.06.00.003";
33
33
34
sub version {
34
sub version {
35
    return $VERSION;
35
    return $VERSION;
(-)a/installer/data/mysql/atomicupdate/bug_20073.perl (-8 lines)
Lines 1-8 Link Here
1
$DBversion = 'XXX';  # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( "ALTER TABLE search_field CHANGE COLUMN type type ENUM('', 'string', 'date', 'number', 'boolean', 'sum', 'isbn', 'stdno') NOT NULL COMMENT 'what type of data this holds, relevant when storing it in the search engine'" );
4
5
    # Always end with this (adjust the bug info)
6
    SetVersion( $DBversion );
7
    print "Upgrade to $DBversion done (Bug 20073 - Add new types for Elasticsearch fields)\n";
8
}
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +7 lines)
Lines 16080-16085 if( CheckVersion( $DBversion ) ) { Link Here
16080
    print "Upgrade to $DBversion done (Bug 2426 - Remove deprecated management permission)\n";
16080
    print "Upgrade to $DBversion done (Bug 2426 - Remove deprecated management permission)\n";
16081
}
16081
}
16082
16082
16083
$DBversion = '18.06.00.003';
16084
if( CheckVersion( $DBversion ) ) {
16085
    $dbh->do( "ALTER TABLE search_field CHANGE COLUMN type type ENUM('', 'string', 'date', 'number', 'boolean', 'sum', 'isbn', 'stdno') NOT NULL COMMENT 'what type of data this holds, relevant when storing it in the search engine'" );
16086
    SetVersion( $DBversion );
16087
    print "Upgrade to $DBversion done (Bug 20073 - Add new types for Elasticsearch fields)\n";
16088
}
16089
16083
# SEE bug 13068
16090
# SEE bug 13068
16084
# if there is anything in the atomicupdate, read and execute it.
16091
# if there is anything in the atomicupdate, read and execute it.
16085
16092
16086
- 

Return to bug 20073