[Koha-bugs] [Bug 13068] New feature for DB update and sandbox

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 10 17:49:15 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13068

Brendan Gallagher <brendan at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32177|0                           |1
        is obsolete|                            |

--- Comment #6 from Brendan Gallagher <brendan at bywatersolutions.com> ---
Created attachment 32178
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32178&action=edit
Bug 13068, updatedatabase improvement for developer process

with this patch, the updatedatabase now checks info the db_update directory. If
there is something here, it's executed.
Note that there is no version update, so if you run the updatedatabase script
twice, you'll get an sql error probably.

This patch will be very useful for sandbox testing process.

When the RM pushes a patch with something in db_update, he will have to copy it
into updatedatabase.pl, give it a number, and remove the file in db_update

Test plan:
 * apply the patch
 * create a files with a .sql extension in the db_update directory
 * run updatedatabase.pl
 * look at your database, what was in the .sql file must have been run

Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list