fix for Column 'date_created' cannot be null