• Caveman@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    5 months ago

    That structure doesn’t handle polyamorous and cheating relationships very well. It should probably have and (select top 1 1 from dbo.relationships r where r.partner_a != GIRLS.id or r.partner_b != GIRLS.id) which would handle also LGBT+ relationships or relationships that are better represented as a graph.

    • drathvedro@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      The relationships table should also have enum for relationship type. It might be friends, family, platonic relations etc. Also might want to check sex_drive to handle ace gals and something to do with kinsey scale not to bother lesbians.