• key@lemmy.keychat.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    DB schema for user info:

    https://github.com/LemmyNet/lemmy/blob/63d3759c481ff2d7594d391ae86e881e2aeca56d/crates/db_schema/src/schema.rs#L380

    https://github.com/LemmyNet/lemmy/blob/63d3759c481ff2d7594d391ae86e881e2aeca56d/crates/db_schema/src/schema.rs#L545

    Just what you’d expect really (settings, profile data, posts/comments), not even user agent (what browser you use) is stored. But keep in mind any instance you sign up to could be using a forked version that inserts Google analytics or FB pixel or any other sort of tracking tech.

    • Nioxic@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year ago
          deleted -> Bool,
      

      :(

      this indicates the user aint gonna be deleted, just marked as “deleted” but still actually exist ?

      this is common practise, at least.

      im a bit too lazy to look through all the code. maybe deleted users arent show, and their comments “content” is still there?

      though technically my comments could be considered personal data and thus break gdpr

      • Aux@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Data should never be actually deleted from the database, that breaks all the best practices. It can be overwritten with garbage though. But it should always be present.

        For example, if you create a new account with email, username and password and get assigned some id like 42. Then after a while you want to delete your account. The account should stay intact, id number 42 should still be occupied, but your email, username and password should be replaced by null values.