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.
誰かが良いメンバーシップ構造を提案できますか?
たとえば、ユーザーが 2012 年 1 月 2 日から 2012 年 1 月 3 日までの 1 か月のメンバーシップを支払ったとします。
ユーザーがまだメンバーであるかどうかを確認する最良の方法は、いつ、どこで?
ユーザーはデータベースの番号でランク付けされます (1-レギュラー 2-メンバー 3-モデレーター)。
おそらく、開始日と終了日、およびユーザーへの FK を含むメンバーシップのテーブルを作成します。