知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
+----------+ | user | |----------| |id | <---+ |user | | |passwd | | |nickname | | |status | | +----------+ | 1:n +-----------+ | +-----------+ | feedback | | | news | |-----------| | |-----------| |id | | +-->|id | |title | | | |title | |content | | | |content | |datetime | | 1:n |datetime | |status | | | |status | |user_id |o---+ | |user_id | |news_id |o------+ +-----------+ +-----------+