Bugzilla – Attachment 78671 Details for
Bug 20777
Remove unused field accountlines.dispute
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20777: Remove unused accountlines.dispute field
Bug-20777-Remove-unused-accountlinesdispute-field.patch (text/plain), 1.83 KB, created by
Mark Tompsett
on 2018-09-14 17:34:14 UTC
(
hide
)
Description:
Bug 20777: Remove unused accountlines.dispute field
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-09-14 17:34:14 UTC
Size:
1.83 KB
patch
obsolete
>From 657b1a6bef688da97f95dc7c1269374a919e5103 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 17 May 2018 10:53:55 -0300 >Subject: [PATCH] Bug 20777: Remove unused accountlines.dispute field > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > .../mysql/atomicupdate/bug_20777_accountlines_dispute.perl | 13 +++++++++++++ > installer/data/mysql/kohastructure.sql | 1 - > 2 files changed, 13 insertions(+), 1 deletion(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_20777_accountlines_dispute.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_20777_accountlines_dispute.perl b/installer/data/mysql/atomicupdate/bug_20777_accountlines_dispute.perl >new file mode 100644 >index 0000000..4317603 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_20777_accountlines_dispute.perl >@@ -0,0 +1,13 @@ >+$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"; >+} >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 3048ade..f348931 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -2679,7 +2679,6 @@ CREATE TABLE `accountlines` ( > `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, >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20777
:
75397
|
75398
|
78665
|
78671
|
78672
|
78673
|
78893
|
78894
|
78895