Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
64d66219
Commit
64d66219
authored
May 29, 2020
by
Junling Bu
Browse files
chore: 评论可以空
parent
19b1ee85
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-db/sql/litemall_table.sql
View file @
64d66219
...
...
@@ -219,8 +219,8 @@ CREATE TABLE `litemall_comment` (
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`value_id`
int
(
11
)
NOT
NULL
DEFAULT
'0'
COMMENT
'如果type=0,则是商品评论;如果是type=1,则是专题评论。'
,
`type`
tinyint
(
3
)
NOT
NULL
DEFAULT
'0'
COMMENT
'评论类型,如果type=0,则是商品评论;如果是type=1,则是专题评论;'
,
`content`
varchar
(
1023
)
NOT
NULL
COMMENT
'评论内容'
,
`admin_content`
varchar
(
511
)
NOT
NULL
COMMENT
'管理员回复内容'
,
`content`
varchar
(
1023
)
DEFAULT
''
COMMENT
'评论内容'
,
`admin_content`
varchar
(
511
)
DEFAULT
''
COMMENT
'管理员回复内容'
,
`user_id`
int
(
11
)
NOT
NULL
DEFAULT
'0'
COMMENT
'用户表的用户ID'
,
`has_picture`
tinyint
(
1
)
DEFAULT
'0'
COMMENT
'是否含有图片'
,
`pic_urls`
varchar
(
1023
)
DEFAULT
NULL
COMMENT
'图片地址列表,采用JSON数组格式'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment