Which of these 2 database setups should I choose?

前端 未结 4 1087
猫巷女王i
猫巷女王i 2021-01-21 09:29

I have 3 types of content: blogs, press releases, and reminders. All of them have a body and entered by fields. The blogs and press releases have a

4条回答
  •  情歌与酒
    2021-01-21 10:22

    The first structure is a classic super type-subtype approach, and recommended. I would just suggest naming primary keys with full table-name-id like ContentID to avoid possible confusion.

    alt text

提交回复
热议问题