|
Lines 1-10
Link Here
|
| 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 |
$dbh->do("ALTER TABLE statistics ADD COLUMN categorycode varchar(10) AFTER ccode"); |
| 7 |
|
| 8 |
# Always end with this (adjust the bug info) |
| 9 |
NewVersion( $DBversion, 7021, "Bug 7021 - Introduce categorycode column"); |
| 10 |
} |