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>
(cherry picked from commit 69994c38a0)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
Jonathan Druart 2015-09-03 16:07:42 +01:00 committed by Chris Cormack
parent 8641fba15c
commit 0f07cd2c10
1 changed files with 4 additions and 0 deletions

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';