Bug 25086: Set changed_fields column as nullable
authorAgustin Moyano <agustinmoyano@theke.io>
Wed, 8 Apr 2020 19:53:43 +0000 (16:53 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 17 Apr 2020 08:10:55 +0000 (09:10 +0100)
commit039afd0936871670598b8b7f24dc5a9be93dd240
tree9bb22e9280c3600b92db6eab91ea5e9d65e30350
parent081a4c75be2431e1a6fc470a5b8834fa866e2453
Bug 25086: Set changed_fields column as nullable

This patch changed_fields column as nullable.

To test:
1. Do not apply any patch
2. Set PatronSelfRegistrationVerifyByEmail preference to require
3. Fill self registration form in opac and submit
CHECK => OPAC dies with a nasty message, that says Field 'changed_fields' doesn't have a default value
4. Apply this patch and updatedatabase
5. Repeat step 3
SUCCESS => Registry process continues as expected
6. Sign off

Sponsored-by: Orex Digital
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
installer/data/mysql/atomicupdate/bug_25086.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql