wdrsam
V2EX  ›  问与答

类似微信朋友圈“对其可见”或“对其不可见”,数据库表是怎么设计的?

  •  
  •   wdrsam · Apr 7, 2017 · 2507 views
    This topic created in 3500 days ago, the information mentioned may be changed or developed.

    还有类似微博的屏蔽某人动态,在关系型数据库里好实现吗?

    wdrsam
    wdrsam
    OP
    Apr 7, 2017
    1
    没有人么
    jaytang
    jaytang
    Apr 7, 2017
    2
    整一张表,三个字段。分别是双方 id 和是否可见。。。。。。。。我只能想到这么多了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2187 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 14:17 · PVG 22:17 · LAX 06:17 · JFK 09:17
    ♥ Do have faith in what you're doing.