Bug 16414: Drop aqorders.budgetgroup_id
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 May 2016 14:55:01 +0000 (15:55 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Fri, 6 May 2016 03:57:36 +0000 (03:57 +0000)
This column has never been used and can be removed.

Test plan:
1/ update the schema
2/ prove t/db_dependent/Acquisition.t
should return green

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Test green pre & post patch
No errors

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_16414.sql [new file with mode: 0644]
t/db_dependent/Acquisition.t

diff --git a/installer/data/mysql/atomicupdate/bug_16414.sql b/installer/data/mysql/atomicupdate/bug_16414.sql
new file mode 100644 (file)
index 0000000..975e02f
--- /dev/null
@@ -0,0 +1 @@
+ALTER TABLE aqorders DROP COLUMN budgetgroup_id;
index 16e0c86..7c80387 100755 (executable)
@@ -359,7 +359,6 @@ my @expectedfields = qw(
   gstrate
   discount
   budget_id
-  budgetgroup_id
   budgetdate
   sort1
   sort2
@@ -487,7 +486,6 @@ my @base_expectedfields = qw(
   publicationyear
   collectiontitle
   invoiceid
-  budgetgroup_id
   place
   issn
   quantityreceived
@@ -609,7 +607,6 @@ ok(
   title
   closedate
   basketname
-  budgetgroup_id
   invoiceid
   author
   parent_ordernumber