model "Newsletter" "Ondrej Jirman"; /* site news/subscriptions */ (Site news item.) entity news_item [auto_timestamps] { (Mail subject, rss feed title, ...) title text; (Repeats info from the title with more detail.) content text; (News category this item belongs to.) category --> news_category [shared]; } (Newsletter subscriber.) entity news_subscriber [auto_timestamps] { (Subscriber's e-mail.) email text; (Subscriber's real name.) realname *text; (Categories subscriber wants to receive.) categories --> *news_category [shared]; } (News item category.) entity news_category { (Category name.) name text; (Category description.) description text; }