Hi to all, it seem that the table 'aqorderdelivery' is not used in Koha now. No bugs if I search with 'aqorderdelivery'. If I search in the code the result is: koha@lctest:~/master$ grep -r -i 'aqorderdelivery' * installer/data/mysql/kohastructure.sql:-- Table structure for table `aqorderdelivery` installer/data/mysql/kohastructure.sql:DROP TABLE IF EXISTS `aqorderdelivery`; installer/data/mysql/kohastructure.sql:CREATE TABLE `aqorderdelivery` ( installer/data/mysql/update22to30.pl: aqorderdelivery => [ INSTALL.fedora7:| aqorderdelivery | Koha/Schema/Result/Aqorderdelivery.pm:package Koha::Schema::Result::Aqorderdelivery; Koha/Schema/Result/Aqorderdelivery.pm:Koha::Schema::Result::Aqorderdelivery Koha/Schema/Result/Aqorderdelivery.pm:=head1 TABLE: C<aqorderdelivery> Koha/Schema/Result/Aqorderdelivery.pm:__PACKAGE__->table("aqorderdelivery"); so no used. The table seems inserted in 2009 but never used. I think it could be deleted.
Created attachment 26194 [details] [review] Bug 11928 - Remove unused table Aqorderdelivery has apparently never been used. This patch removes it. TEST PLAN --------- 1) Apply patch. 2) Confirm table is there. 3) Run upgrade process. 4) Confirm table has been removed. 5) Drop koha database and create empty one. 6) Fresh install from staff client. 7) Confirm table was not created.
Created attachment 26196 [details] [review] Bug 11928 - Remove unused table Aqorderdelivery has apparently never been used. This patch removes it. TEST PLAN --------- 1) Apply patch. 2) Run the Koha QA Test tool. 3) Confirm table is there. 4) Run upgrade process. 5) Confirm table has been removed. 6) Drop koha database and create empty one. 7) Fresh install from staff client. 8) Confirm table was not created. 9) I'm unsure how to test the Schema's. It was just git rm'd.
I agree that it is unused, and here is a patch to remove it. I decided against modifying update22to30.pl, so as to maintain continuity of upgrade paths taken by others in the past.
Created attachment 26218 [details] [review] Bug 11928 - Remove unused table aqorderdelivery Aqorderdelivery has apparently never been used. This patch removes it. TEST PLAN --------- 1) Apply patch. 2) Run the Koha QA Test tool. 3) Confirm table is there. 4) Run upgrade process. 5) Confirm table has been removed. 6) Drop koha database and create empty one. 7) Fresh install from staff client. 8) Confirm table was not created. 9) I'm unsure how to test the Schema's. It was just git rm'd. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Created attachment 26240 [details] [review] Bug 11928 - Remove unused table aqorderdelivery Aqorderdelivery has apparently never been used. This patch removes it. TEST PLAN --------- 1) Apply patch. 2) Run the Koha QA Test tool. 3) Confirm table is there. 4) Run upgrade process. 5) Confirm table has been removed. 6) Drop koha database and create empty one. 7) Fresh install from staff client. 8) Confirm table was not created. 9) I'm unsure how to test the Schema's. It was just git rm'd. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Pushed to master. Thanks, Mark!
This is a cleanup, not really useful for stable branches. I set as resolved.