ブログにコメントテーブルがあります。
comment
- id (PK)
- post_id (FK)
- user_id (FK)
- comment
3つのテーブルに分割して、このようにする必要がありますか?
comment
- id (PK)
- comment
user_comment
- comment_id (PK, FK)
- user_id (PK, FK)
post_comment
- post_id (PK, FK)
- comment_id (PK, FK)
これはより良いデザインでしょうか?他の提案は大歓迎です。