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 |
- |
|
|