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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +8 lines)
Lines 20011-20016 if ( CheckVersion($DBversion) ) { Link Here
20011
        );
20011
        );
20012
    }
20012
    }
20013
20013
20014
    # Catch LOST_RETURNED cases from original bug 22563 update
20015
    $dbh->do(
20016
        qq{
20017
            UPDATE accountlines 
20018
            SET accounttype = 'LOST_RETURN' 
20019
            WHERE accounttype = 'LOST_RETURNED'
20020
    });
20021
20014
    # Linking credit_type_code in accountlines to code in account_credit_types
20022
    # Linking credit_type_code in accountlines to code in account_credit_types
20015
    unless ( foreign_key_exists( 'accountlines', 'accountlines_ibfk_credit_type' ) ) {
20023
    unless ( foreign_key_exists( 'accountlines', 'accountlines_ibfk_credit_type' ) ) {
20016
        $dbh->do(
20024
        $dbh->do(
20017
- 

Return to bug 25389