Bug 23539: accountlines.accounttype should match authorised_values.authorised_value in size
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
aede6896dd
commit
00c61beff9
2 changed files with 8 additions and 1 deletions
7
installer/data/mysql/atomicupdate/bug_23439.perl
Normal file
7
installer/data/mysql/atomicupdate/bug_23439.perl
Normal file
|
@ -0,0 +1,7 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q{ALTER TABLE accountlines CHANGE COLUMN accounttype accounttype varchar(80) default NULL});
|
||||
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 23539 - accountlines.accounttype should match authorised_values.authorised_value in size)\n";
|
||||
}
|
|
@ -2611,7 +2611,7 @@ CREATE TABLE `accountlines` (
|
|||
`date` date default NULL,
|
||||
`amount` decimal(28,6) default NULL,
|
||||
`description` LONGTEXT,
|
||||
`accounttype` varchar(16) default NULL,
|
||||
`accounttype` varchar(80) default NULL,
|
||||
`status` varchar(16) default NULL,
|
||||
`payment_type` varchar(80) default NULL, -- optional authorised value PAYMENT_TYPE
|
||||
`amountoutstanding` decimal(28,6) default NULL,
|
||||
|
|
Loading…
Reference in a new issue