Bug 14171: Update borrowers date fields

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

http://bugs.koha-community.org/show_bug.cgi?id=14717

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2015-09-03 16:07:42 +01:00 committed by Tomas Cohen Arazi
parent 7bad40dcc2
commit 69994c38a0

View file

@ -0,0 +1,4 @@
update borrowers set debarred = NULL where debarred = '0000-00-00';
update borrowers set dateexpiry = NULL where dateexpiry = '0000-00-00';
update borrowers set dateofbirth = NULL where dateofbirth = '0000-00-00';
update borrowers set dateenrolled = NULL where dateenrolled = '0000-00-00';