Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 20cf414

Browse files
committed
db
1 parent 57ae089 commit 20cf414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/db.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ CREATE TABLE IF NOT EXISTS `comments` (
9494
`content` text NOT NULL,
9595
`uid` int unsigned NOT NULL COMMENT '回复者',
9696
`floor` int unsigned NOT NULL COMMENT '第几楼',
97-
`likenum` int unsigned NOT NULL COMMENT '喜欢数',
97+
`likenum` int unsigned NOT NULL DEFAULT 0 COMMENT '喜欢数',
9898
`flag` tinyint NOT NULL DEFAULT 0 COMMENT '审核标识,0-未审核;1-已审核;2-审核删除;3-用户自己删除',
9999
`ctime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
100100
PRIMARY KEY (`cid`),

0 commit comments

Comments
 (0)