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

(-)a/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.perl (-3 / +4 lines)
Lines 1-6 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
     $dbh->do( "ALTER TABLE auth_header DROP COLUMN marc" );
3
    if( column_exists( 'auth_header', 'marc' ) ) {
4
        $dbh->do( "ALTER TABLE auth_header DROP COLUMN marc" );
5
    }
4
6
5
    NewVersion( $DBversion, XXXXX, "Drop marc column from auth_header");
7
    NewVersion( $DBversion, 26684, "Drop marc column from auth_header");
6
}
8
}
7
- 

Return to bug 26684