• barsquid@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    3 months ago

    One of the reasons women will find this repugnant is because they didn’t normalize their tables. Should be boyfriend_id is null.

      • GBU_28@lemm.ee
        link
        fedilink
        English
        arrow-up
        8
        ·
        3 months ago

        They allowed business logic to pollute the DB table, and “small waist” is a defined range in some confluence doc somewhere.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 months ago

      Why is there a separate table for men and women in the first place? Shouldn’t there be a person table with a many to many relationship with itself (because polyamory exists)?

      • ResoluteCatnap@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        To that point a person table with a relationship table. So this way you can reference relationship between two or more persons within the relationship table and that could be joined to the person table if needed. I don’t think you’d really be able to keep it within one table while exploring multiple relationships unless you’re storing a list of ids that is interpreted outside of sql. Also a relationship table would allow exploring other types of relationships such as exes, love interests, coworkers, family, friends, etc