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

(-)a/installer/data/mysql/atomicupdate/bug_25078.perl (-1 / +13 lines)
Line 0 Link Here
0
- 
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    # you can use $dbh here like:
4
    # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" );
5
6
    # or perform some test and warn
7
    # if( !column_exists( 'biblio', 'biblionumber' ) ) {
8
    #    warn "There is something wrong";
9
    # }
10
11
    # Always end with this (adjust the bug info)
12
    NewVersion( $DBversion, 25078, ["Description", "Boom, boom", "Chick-a-boom"]);
13
}

Return to bug 25078