Changed date type on the schema