• Caveman@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    4 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
      arrow-down
      1
      ·
      4 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.