#### calf_praise_record | 字段名 | 类型 | 备注 | | --- | --- | --- | | id | int | 点赞表自增id | | uid | int | 点赞者uid | | rid | int | 赞的哪条回复的ID | | reid | int | 帖子主ID | | sex | int | 性别 1为男 2为女 | | status | tinyint | 0 未点赞 1点赞 默认1 | ~~~ -- ---------------------------- -- Table structure for `calf_praise_record` -- ---------------------------- DROP TABLE IF EXISTS `calf_praise_record`; CREATE TABLE `calf_praise_record` ( `id` int(11) NOT NULL AUTO_INCREMENT, `uid` int(10) NOT NULL COMMENT '点赞者uid', `rid` int(11) NOT NULL COMMENT '赞的哪条回复的ID', `reid` int(10) NOT NULL COMMENT '帖子主ID', `status` tinyint(4) DEFAULT '1' COMMENT '0 未点赞 1点赞 默认1', PRIMARY KEY (`id`), KEY `uid` (`uid`) USING BTREE, KEY `reid` (`reid`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; ~~~