var $description;
var $sql = 'alter2.1.sql';
- function fa2_1() {
+ function __construct() {
$this->description = _('Upgrade from version 2.0 to 2.1');
}
//
}
// remove obsolete bank_trans_types table
// (DROP queries are skipped during non-forced upgrade)
- $sql = "DROP TABLE IF EXISTS `0_bank_trans_types`";
+ $sql = "DROP TABLE IF EXISTS `".TB_PREF."bank_trans_types`";
db_query($sql);
//
// Move all debtor and supplier trans tax details to new table