laravel-vote icon indicating copy to clipboard operation
laravel-vote copied to clipboard

Revoting does not retain original created_at

Open LiamKarlMitchell opened this issue 1 year ago • 0 comments

Because the previous record is deleted by upvote or downvote calling cancelVote then a new one is added. Why not just update the existing vote?

Maybe it is not a big deal, and could be because of the dispatching of Voted and VoteCancelled events, but means updated_at is a redundant field.

LiamKarlMitchell avatar Dec 28 '22 18:12 LiamKarlMitchell