[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 Mar 20 18:25:35 CET 2015


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36779|0                           |1
        is obsolete|                            |
  Attachment #36780|0                           |1
        is obsolete|                            |
  Attachment #36781|0                           |1
        is obsolete|                            |
  Attachment #36792|0                           |1
        is obsolete|                            |

--- Comment #94 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 37061
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37061&action=edit
[PASSED QA] Bug 13068: updatedatabase improvement for developer process

with this patch, the updatedatabase now checks info the atomicupdate directory.
If there is some SQL 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 i'atomicupdate', 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 atomicupdate directory
 * run updatedatabase.pl
 * look at your database, what was in the .sql file must have been run

Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list