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

(-)a/installer/data/mysql/atomicupdate/bug_26268.perl (-7 / +1 lines)
Lines 14-25 if ( CheckVersion($DBversion) ) { Link Here
14
        }
14
        }
15
        else {
15
        else {
16
            $dbh->do(q|ALTER TABLE items DROP COLUMN paidfor|);
16
            $dbh->do(q|ALTER TABLE items DROP COLUMN paidfor|);
17
            $dbh->do(q|
17
            $dbh->do(q|UPDATE marc_subfield_structure SET kohafield = '' WHERE kohafield = 'items.paidfor'|);
18
                DELETE FROM marc_subfield_structure
19
                WHERE tagfield = '952'
20
                AND tagsubfield = 'x'
21
                AND kohafield = 'items.paidfor'
22
            |);
23
        }
18
        }
24
    }
19
    }
25
20
26
- 

Return to bug 26268