this works now since we're using a timestamp column in mysql