`active' flag or not?

后端 未结 18 1873
醉梦人生
醉梦人生 2020-12-25 14:21

OK, so practically every database based application has to deal with \"non-active\" records. Either, soft-deletions or marking something as \"to be ignored\". I\'m curious a

18条回答
  •  一整个雨季
    2020-12-25 14:48

    I think looking at it strictly as a piece of data then the way that is shown in the original post is proper. The active flag piece of data is directly dependent upon the primary key and should be in the table.

    That table holds data on people, irrespective of the current status of their data.

提交回复
热议问题