MySQL显示建表语句

-- SHOW CREATE TABLE t_access_auth;
SHOW CREATE TABLE t_access_auth;

CREATE TABLE `t_access_auth` (
 `id` int(11) NOT NULL AUTO_INCREMENT,
 `accessKey` varchar(32) NOT NULL,
 `secretKey` varchar(32) DEFAULT NULL,
 `status` tinyint(4) NOT NULL DEFAULT '0',
 `createTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
 PRIMARY KEY (`id`),
 UNIQUE KEY `accessKey` (`accessKey`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8

你可能感兴趣的:(mysql)