代码拉取完成,页面将自动刷新
同步操作将从 奔跑的乌龟/无聊书城-python端-UNIAPP端-PHP接口 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
Navicat Premium Data Transfer
Source Server : testtest
Source Server Type : MySQL
Source Server Version : 50650
Source Host : 129.211.170.138:3306
Source Schema : testtest
Target Server Type : MySQL
Target Server Version : 50650
File Encoding : 65001
Date: 19/11/2021 12:34:28
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for novel_books
-- ----------------------------
DROP TABLE IF EXISTS `novel_books`;
CREATE TABLE `novel_books` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`book_id` int(11) NULL DEFAULT NULL COMMENT '书籍号',
`author` varchar(60) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '作者',
`title` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '书名',
`type` varchar(60) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '类型',
`photo` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL COMMENT '封面',
`synopsis` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '简介',
PRIMARY KEY (`Id`) USING BTREE,
UNIQUE INDEX `bookid`(`book_id`) USING BTREE,
INDEX `booknumber`(`book_id`) USING BTREE,
INDEX `type`(`type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3928 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for novel_chapter
-- ----------------------------
DROP TABLE IF EXISTS `novel_chapter`;
CREATE TABLE `novel_chapter` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`book_id` int(11) NOT NULL COMMENT '编号',
`chaptertitle` varchar(60) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '章节标题',
`content` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文章内容',
`addtime` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '添加时间',
PRIMARY KEY (`id`) USING BTREE,
INDEX `book_id`(`book_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 251563 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for novel_classification
-- ----------------------------
DROP TABLE IF EXISTS `novel_classification`;
CREATE TABLE `novel_classification` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `name`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for novel_collect
-- ----------------------------
DROP TABLE IF EXISTS `novel_collect`;
CREATE TABLE `novel_collect` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL COMMENT '用户id',
`book_id` int(11) NOT NULL COMMENT '书籍id',
`status` bit(1) NULL DEFAULT NULL COMMENT '收藏状态',
`read_chapter` int(11) NOT NULL DEFAULT 1 COMMENT '当前阅读章节',
`addtime` int(10) NOT NULL COMMENT '添加时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 161 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for novel_like
-- ----------------------------
DROP TABLE IF EXISTS `novel_like`;
CREATE TABLE `novel_like` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
`book_id` int(11) NOT NULL COMMENT '书籍id',
`user_id` int(11) NOT NULL COMMENT '用户id',
`status` bit(1) NOT NULL DEFAULT b'0',
`addtime` int(10) NULL DEFAULT NULL COMMENT '添加时间',
`like_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `like_id`(`like_id`) USING BTREE,
INDEX `user_id`(`user_id`) USING BTREE,
INDEX `book_id`(`book_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 59 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for novel_user
-- ----------------------------
DROP TABLE IF EXISTS `novel_user`;
CREATE TABLE `novel_user` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`wx_openid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`username` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户名',
`email` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
`mobile` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机号',
`head` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '头像',
`password` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
`ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '最后一次登录ip',
`register_time` int(10) NOT NULL COMMENT '注册时间',
`login_time` int(10) NULL DEFAULT NULL COMMENT '最后一次登录时间',
`register_ip` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '注册ip',
PRIMARY KEY (`user_id`) USING BTREE,
INDEX `email`(`email`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
SET FOREIGN_KEY_CHECKS = 1;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。