This is setting $alterTable to true if $alterTableV1 is true.  I could combine them into one statement:

    if ( isset($alterTableV1) ) {
        $alterTableV1 = 1;
        $atlerTable = 1;
    }

However, I think it better to keep all the simple true/false options in one place.