データベースを作成していますusers
。メールで受け取りたい通知をユーザーが選択できるようにしたいと考えています。
これで、テーブルに次の列ができましたusers
(ブール型):
notification_comment_photo
.notification_comment_comment
.notification_vote_photo
.notification_vote_comment
.notification_pm
.notification_followed
.notification_news
.
notifications
このテーブルが table と 1 対 1 の関係を持つことを考えると、 table users を正規化して別の table を作成する必要があると思いますusers
か?
また、ソーシャル リンク (twitter、facebook、google+ など) にも同じ問題があります。別のテーブルを作成した方が良いlinks
ですか?
更新。ありがとうございます。別のテーブルを追加します。