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 stockrotationrotas CHANGE COLUMN description description text" ); |
5 |
|
6 |
# Always end with this (adjust the bug info) |
7 |
SetVersion( $DBversion ); |
8 |
print "Upgrade to $DBversion done (Bug 21620 Remove default on stockrotationrotas.description)\n"; |
9 |
} |