• Adanisi@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Because then people can vote an unlimited number of times.

    There needs to be some sort of identifier

    • m3t00🌎@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      array votes[post_id, vote]; // for storing in user profile not public but can be hashed if you don’t trust your dba