2 )mysql> <span style= "color: #ff0000;" >show create table admin;</span>
------------------------------------+
| admin | CREATE TABLE `admin` (
`id` varchar( 255 ) NOT NULL,
`name` varchar( 255 ) DEFAULT NULL,
`account` varchar( 255 ) DEFAULT NULL,
`password` varchar( 255 ) DEFAULT NULL,
`addTime` datetime DEFAULT NULL,
`delSign` varchar( 255 ) DEFAULT NULL,
`lockStatus` varchar( 255 ) DEFAULT NULL,
`phone` varchar( 255 ) DEFAULT NULL,
`email` varchar( 255 ) DEFAULT NULL,
`nowLoginTime` datetime DEFAULT NULL,
`nowLoginIp` varchar( 255 ) DEFAULT NULL,
`lastLoginTime` datetime DEFAULT NULL,
`lastLoginIp` varchar( 255 ) DEFAULT NULL,
`loginCount` int ( 11 ) DEFAULT NULL,
`description` varchar( 255 ) DEFAULT NULL,
`gender` varchar( 255 ) DEFAULT NULL,
`birthday` datetime DEFAULT NULL,
`icon` varchar( 255 ) DEFAULT NULL,
`qq` varchar( 255 ) DEFAULT NULL,
`address` text,
`departmentId` varchar( 255 ) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK586034F91261A86` (`departmentId`),
CONSTRAINT `FK586034F91261A86` FOREIGN KEY (`departmentId`) REFERENCES `department` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 |
+-------+--------------------------------------------------------------------------------------
|