MySQL数据库表结构设计
第 1-11 条, 共 11 条.
| 字段名称 | 字段类型 | 字段默认值 | 是否允许为空 | 字段描述 | 索引 | 字段数据示例 |
|---|---|---|---|---|---|---|
| siteid | smallint(6) | 0 | 否 | 无索引 | 0 | |
| logtime | int(11) | 0 | 否 | 普通索引 | 0 | |
| fromid | int(11) | 0 | 否 | 普通索引 | 0 | |
| fromname | varchar(30) | 否 | 普通索引 | |||
| toid | int(11) | 0 | 否 | 普通索引 | 0 | |
| toname | varchar(30) | 否 | 普通索引 | |||
| reason | text | 否 | 无索引 | |||
| chginfo | text | 否 | 无索引 | |||
| chglog | text | 否 | 无索引 | |||
| isdel | tinyint(1) | 0 | 否 | 普通索引 | 0 | |
| userlog | mediumtext | 否 | 无索引 |
MySQL建表SQL语句 免费MySQL数据库表结构设计
数据库结构:jieqi小说-用户日志:https://open.yesapi.cn/tablelist/yesapi_jieqi_system_userlog.html
-- 数据库大全:jieqi小说-用户日志
-- 来源:YesApi.cn
CREATE TABLE `yesapi_jieqi_system_userlog` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`siteid` smallint(6) NOT NULL DEFAULT '0' COMMENT '',
`logtime` int(11) NOT NULL DEFAULT '0' COMMENT '',
`fromid` int(11) NOT NULL DEFAULT '0' COMMENT '',
`fromname` varchar(30) NOT NULL COMMENT '',
`toid` int(11) NOT NULL DEFAULT '0' COMMENT '',
`toname` varchar(30) NOT NULL COMMENT '',
`reason` text NOT NULL COMMENT '',
`chginfo` text NOT NULL COMMENT '',
`chglog` text NOT NULL COMMENT '',
`isdel` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
`userlog` mediumtext NOT NULL COMMENT '',
KEY `logtime` (`logtime`),
KEY `fromid` (`fromid`),
KEY `fromname` (`fromname`),
KEY `toid` (`toid`),
KEY `toname` (`toname`),
KEY `isdel` (`isdel`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'jieqi小说-用户日志';
复制后,到数据库执行,即可创建此数据库表。
猜你喜欢
粤公网安备44011302002121号
|
