]> git.koha-community.org Git - koha.git/commit
Bug 19008: More database cleanups - old reserves
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 28 Jul 2017 14:01:51 +0000 (16:01 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 Feb 2020 13:38:33 +0000 (13:38 +0000)
commitfc7d7eece8c64a20305c6efc935128ce55b31f3a
treef4f6d946d01c80327124f478018d9e7c758d0e3f
parent9b5ff17d79a61156426433bdd2e3c248e63d7431
Bug 19008: More database cleanups - old reserves

misc/cronjobs/cleanup_database.pl provides some database cleanup.
Yet some tables that could need cleanup are not in this script.

This patch adds cleanup for old_reserves table.

Test plan :
- Count : select count(*),date(timestamp) from old_reserves group by date(timestamp);
- Run cleanup : misc/cronjobs/cleanup_database.pl -v --old-reserves 30
- Recount

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/cronjobs/cleanup_database.pl