Bugzilla – Attachment 75397 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.78 KB, created by
Tomás Cohen Arazi (tcohen)
on 2018-05-17 13:55:52 UTC
(
hide
)
Description:
Bug 20777: Remove unused accountlines.dispute field
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-05-17 13:55:52 UTC
Size:
1.78 KB
patch
obsolete
>From 826f02629cd308349c619479d705c71543bd9be4 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> >--- > .../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 0000000000..4317603ea3 >--- /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 f7970c051f..1a42e85e92 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -2703,7 +2703,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.17.0
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