Lines 1-7
Link Here
|
1 |
$DBversion = 'XXX'; |
1 |
$DBversion = 'XXX'; |
2 |
if( CheckVersion( $DBversion ) ) { |
2 |
if( CheckVersion( $DBversion ) ) { |
3 |
unless( column_exists( 'issuingrules', 'note' ) ) { |
3 |
unless( column_exists( 'issuingrules', 'note' ) ) { |
4 |
$dbh->do(q|ALTER TABLE issuingrules ADD note varchar(100) default NULL AFTER article_requests|); |
4 |
$dbh->do(q|ALTER TABLE `issuingrules` ADD `note` varchar(100) default NULL AFTER `article_requests`|); |
5 |
} |
5 |
} |
6 |
|
6 |
|
7 |
SetVersion( $DBversion ); |
7 |
SetVersion( $DBversion ); |
8 |
- |
|
|