+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:在线小说-小说内容:https://open.yesapi.cn/tablelist/yesapi_nor_bookcontents.html


-- 数据库大全:在线小说-小说内容
-- 来源:YesApi.cn
CREATE TABLE `yesapi_nor_bookcontents` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `booksId` int(11) NOT NULL COMMENT '小说id号',
    `contentName` varchar(128) NOT NULL COMMENT '章节名称',
    `contentNum` int(11) NOT NULL COMMENT '当前章节序号',
    `contents` longtext NOT NULL COMMENT '章节内容',
    `bookContentCheckup` int(1) NOT NULL DEFAULT '0' COMMENT '审核,0未审核',
    `draft` longtext NOT NULL COMMENT '草稿',
    `lastUpdate` date NOT NULL COMMENT '最后更新时间',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '在线小说-小说内容';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-7 条, 共 7 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
booksIdint(11)小说id号无索引
contentNamevarchar(128)章节名称无索引
contentNumint(11)当前章节序号无索引
contentslongtext章节内容无索引
bookContentCheckupint(1)0审核,0未审核无索引0
draftlongtext草稿无索引
lastUpdatedate最后更新时间无索引

猜你喜欢

MySQL数据库设计 xiaoshuo小说-作者

MySQL数据库设计 xiaoshuo小说-顶部

MySQL数据库设计 xiaoshuo小说-小说

MySQL数据库设计 xiaoshuo小说-分类

MySQL数据库设计 xiaoshuo小说-章节

MySQL数据库设计 xiaoshuo小说-标签

MySQL数据库设计 xiaoshuo小说-管理员

MySQL数据库设计 xiaoshuo小说-友情链接

MySQL数据库设计 jieqi小说-管理菜单

MySQL数据库设计 jieqi小说-章节配置

MySQL数据库设计 jieqi小说-章节

MySQL数据库设计 jieqi小说-配置

MySQL数据库设计 jieqi小说-默认菜单

MySQL数据库设计 jieqi小说-好友

MySQL数据库设计 jieqi小说-分组

MySQL数据库设计 jieqi小说-声望

MySQL数据库设计 jieqi小说-日志

MySQL数据库设计 jieqi小说-主菜单

MySQL数据库设计 jieqi小说-m章节

MySQL数据库设计 jieqi小说-私信



回到顶部 ↑