add date type and allow NULL value