Bug 22607: Change default value in issues.renewals to '0'.
authorJosef Moravec <josef.moravec@gmail.com>
Fri, 29 Mar 2019 08:13:48 +0000 (08:13 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Apr 2019 12:30:35 +0000 (12:30 +0000)
commita058708d54d4bcf3ccee32494e0dddf8981a4967
tree7120368162e13b26b4802b47cc399d7e7d65c67a
parenta0b6a894fec0d2a3a804f86e9fdd076137b8c26e
Bug 22607: Change default value in issues.renewals to '0'.

This patch change renewals column of issues and old_issues tables.

Now it is NOT NULL default 0. It does not make sense when number of
renewals is undefined, it is always integer with value zero or more

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit cf95f0a7e6897d3dc4b90c92ffad19230379d7cb)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit fd22ef99fe0d78bce28d659323bd8401067f198b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
installer/data/mysql/atomicupdate/Bug22607_set_issues_renewals_default_to_zero.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql