fix prod db for allowing null dates