Bug 7413: Add issuingrules.norenewalbefore to database
authorHolger Meißner <h.meissner.82@web.de>
Wed, 12 Feb 2014 15:53:06 +0000 (16:53 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 7 Apr 2014 18:28:53 +0000 (18:28 +0000)
commit069bf086fbc3bb5bab4527c4b7a0cf31970b184d
treedacdac01b22c9621b7389361c2cf21e54b5b48f2
parentc095003b865a9405014d8567bdccfaf7048fd929
Bug 7413: Add issuingrules.norenewalbefore to database

Currently multiple renewals can be done in immediate succsession.
To optionally prevent this, a new parameter "No renewal before"
is introduced.

This patch adds issuingrules.norenewalbefore to the database.
Default value is NULL.

To test:
1) Run installer/data/mysql/updatedatabase.pl
2) Create a SQL report like:
   SELECT * FROM issuingrules
3) Confirm that norenewalbefore was added after renewalperiod.

Sponsored-by: Hochschule für Gesundheit (hsg), Germany
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl