[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
Tue Mar 10 20:49:02 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13068
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #36716|0 |1
is obsolete| |
--- Comment #85 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 36779
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36779&action=edit
[SIGNED OFF] 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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list