Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ae089 commit 20cf414Copy full SHA for 20cf414
config/db.sql
@@ -94,7 +94,7 @@ CREATE TABLE IF NOT EXISTS `comments` (
94
`content` text NOT NULL,
95
`uid` int unsigned NOT NULL COMMENT '回复者',
96
`floor` int unsigned NOT NULL COMMENT '第几楼',
97
- `likenum` int unsigned NOT NULL COMMENT '喜欢数',
+ `likenum` int unsigned NOT NULL DEFAULT 0 COMMENT '喜欢数',
98
`flag` tinyint NOT NULL DEFAULT 0 COMMENT '审核标识,0-未审核;1-已审核;2-审核删除;3-用户自己删除',
99
`ctime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
100
PRIMARY KEY (`cid`),
0 commit comments