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

MySQL建表SQL语句

数据库结构:jieqi小说-主题:https://open.yesapi.cn/tablelist/yesapi_jieqi_system_ptopics.html


-- 数据库大全:jieqi小说-主题
-- 来源:YesApi.cn
CREATE TABLE `yesapi_jieqi_system_ptopics` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `siteid` smallint(6) NOT NULL DEFAULT '0' COMMENT '',
    `ownerid` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `title` varchar(80) NOT NULL COMMENT '',
    `posterid` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `poster` varchar(30) NOT NULL COMMENT '',
    `posttime` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `replierid` int(10) NOT NULL DEFAULT '0' COMMENT '',
    `replier` varchar(30) NOT NULL COMMENT '',
    `replytime` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `views` mediumint(8) NOT NULL DEFAULT '0' COMMENT '',
    `replies` mediumint(8) NOT NULL DEFAULT '0' COMMENT '',
    `islock` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
    `istop` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `isgood` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
    `rate` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
    `attachment` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
    `needperm` int(10) NOT NULL DEFAULT '0' COMMENT '',
    `needscore` int(10) NOT NULL DEFAULT '0' COMMENT '',
    `needexp` int(10) NOT NULL DEFAULT '0' COMMENT '',
    `needprice` int(10) NOT NULL DEFAULT '0' COMMENT '',
    `sortid` tinyint(3) NOT NULL DEFAULT '0' COMMENT '',
    `iconid` tinyint(3) NOT NULL DEFAULT '0' COMMENT '',
    `typeid` tinyint(3) NOT NULL DEFAULT '0' COMMENT '',
    `lastinfo` varchar(255) NOT NULL COMMENT '',
    `linkurl` varchar(100) NOT NULL COMMENT '',
    `size` int(11) NOT NULL DEFAULT '0' COMMENT '',
    KEY `ownerid` (`ownerid`),
    KEY `posterid` (`posterid`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'jieqi小说-主题';

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


MySQL数据库表结构设计

第 1-26 条, 共 26 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
siteidsmallint(6)0无索引0
owneridint(11)0普通索引0
titlevarchar(80)无索引
posteridint(11)0普通索引0
postervarchar(30)无索引
posttimeint(11)0无索引0
replieridint(10)0无索引0
repliervarchar(30)无索引
replytimeint(11)0无索引0
viewsmediumint(8)0无索引0
repliesmediumint(8)0无索引0
islocktinyint(1)0无索引0
istopint(11)0无索引0
isgoodtinyint(1)0无索引0
ratetinyint(1)0无索引0
attachmenttinyint(1)0无索引0
needpermint(10)0无索引0
needscoreint(10)0无索引0
needexpint(10)0无索引0
needpriceint(10)0无索引0
sortidtinyint(3)0无索引0
iconidtinyint(3)0无索引0
typeidtinyint(3)0无索引0
lastinfovarchar(255)无索引
linkurlvarchar(100)无索引
sizeint(11)0无索引0

猜你喜欢

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小说-私信



回到顶部 ↑