Browse Source
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>19.05.x
2 changed files with 11 additions and 1 deletions
@ -0,0 +1,11 @@ |
|||
$DBversion = 'XXX'; # will be replaced by the RM |
|||
if( CheckVersion( $DBversion ) ) { |
|||
|
|||
if( column_exists( 'accountlines', 'accountno' ) ) { |
|||
$dbh->do( "ALTER TABLE accountlines DROP COLUMN accountno" ); |
|||
} |
|||
|
|||
# Always end with this (adjust the bug info) |
|||
SetVersion( $DBversion ); |
|||
print "Upgrade to $DBversion done (Bug XXXXX - description)\n"; |
|||
} |
Loading…
Reference in new issue