Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
--- /dev/null
+$DBversion = 'XXX';
+if( CheckVersion( $DBversion ) ) {
+
+ if ( column_exists( 'accountlines', 'dispute' ) ) {
+ $dbh->do(q{
+ ALTER TABLE `accountlines`
+ DROP COLUMN `dispute`
+ });
+ }
+
+ SetVersion( $DBversion );
+ print "Upgrade to $DBversion done (Bug 20777 - Remove unused field accountlines.dispute)\n";
+}
`date` date default NULL,
`amount` decimal(28,6) default NULL,
`description` LONGTEXT,
- `dispute` LONGTEXT,
`accounttype` varchar(5) default NULL,
`payment_type` varchar(80) default NULL, -- optional authorised value PAYMENT_TYPE
`amountoutstanding` decimal(28,6) default NULL,