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

(-)a/installer/data/mysql/atomicupdate/bug-23111_add-is_default-column-to-biblio_framework.perl (-2 / +1 lines)
Lines 1-7 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
    if( !column_exists( 'biblio_framework', 'default' ) ) {
3
    if( !column_exists( 'biblio_framework', 'default' ) ) {
4
        $dbh->do(q{ALTER TABLE biblio_framework ADD is_default TINYINT(1) default 0 NOT NULL});
4
        $dbh->do(q{ALTER TABLE biblio_framework ADD is_default TINYINT(1) default 0 NOT NULL AFTER frameworktext});
5
    }
5
    }
6
    NewVersion( $DBversion, 23111, "Add is_default column to biblio_framework table");
6
    NewVersion( $DBversion, 23111, "Add is_default column to biblio_framework table");
7
}
7
}
8
- 

Return to bug 23111