mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 11:33:01 +08:00
Create uni-news.md
This commit is contained in:
parent
7326045802
commit
7ae4686d4a
19
uni-news.md
Normal file
19
uni-news.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
## 文章评论
|
||||||
|
|
||||||
|
表名:uni-posts
|
||||||
|
|
||||||
|
| 字段 | 类型 | 必填| 描述 |
|
||||||
|
| ----------------| --------- | ----| ------------------------------------------- |
|
||||||
|
| \_id | Object ID | 是 | 存储文档 ID(文章 ID),系统自动生成 |
|
||||||
|
| author | String | 是 | 作者ID |
|
||||||
|
| title | String | 是 | 标题 |
|
||||||
|
| content | String | 是 | 文章内容 |
|
||||||
|
| excerpt | String | 否 | 文章摘录 |
|
||||||
|
| post_status | Integer | 是 | 文章状态:0 草稿箱 1 已发布 |
|
||||||
|
| comment_status | Integer | 是 | 评论状态:0 关闭 1 开放 |
|
||||||
|
| avatar | String | 否 | 缩略图地址 |
|
||||||
|
| post_date | Timestamp | 否 | 发表时间 |
|
||||||
|
| post_ip | String | 否 | 发表时 IP 地址 |
|
||||||
|
| last_modify_date| Timestamp | 否 | 最后修改时间 |
|
||||||
|
| last_modify_ip | String | 否 | 最后修改时 IP 地址 |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user