Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーがサブスクライブしたユーザーのアクティビティに関するすべての通知を受け取る、PHP でサブスクライブ ユーザー モジュールを開発したいと考えています。
Subscriptions、UserSubscriptionsテーブルを作成 します。既にUsersテーブルがあります (私が想定しています)。
送信するすべての通知名をSubscriptionsテーブルに挿入すると、UserSubscriptionsテーブルにはUserIdとSubscriptionIdが含まれます。