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

(-)a/installer/data/mysql/atomicupdate/bug_26268.perl (-2 / +4 lines)
Lines 1-8 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
2
if( CheckVersion( $DBversion ) ) {
3
3
4
    if( !column_exists( 'items', 'paidfor' ) ) {
4
    if( column_exists( 'items', 'paidfor' ) ) {
5
       $dbh->do(q|ALTER TABLE items DROP COLUMN paidfor|);
5
       $dbh->do(q|ALTER TABLE items DROP COLUMN paidfor|);
6
    }
7
8
    if ( column_exists( 'deleteditems', 'paidfor' ) ) {
6
       $dbh->do(q|ALTER TABLE deleteditems DROP COLUMN paidfor|);
9
       $dbh->do(q|ALTER TABLE deleteditems DROP COLUMN paidfor|);
7
    }
10
    }
8
11
9
- 

Return to bug 26268