~~~ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for mk_common_images -- ---------------------------- DROP TABLE IF EXISTS `mk_common_images`; CREATE TABLE `mk_common_images` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id自增', `uuid` char(40) DEFAULT NULL, `name` varchar(100) DEFAULT NULL, `type` varchar(50) DEFAULT NULL, `path` varchar(255) DEFAULT '' COMMENT '路径', `url` varchar(255) DEFAULT '' COMMENT '图片链接', `md5` char(32) DEFAULT '' COMMENT '文件md5', `sha1` char(40) DEFAULT '' COMMENT '文件 sha1编码', `status` tinyint(2) DEFAULT '0' COMMENT '状态', `create_time` int(10) unsigned DEFAULT '0' COMMENT '创建时间', `width` int(11) DEFAULT NULL, `height` int(11) DEFAULT NULL, `channels` tinyint(4) DEFAULT NULL, `dpi` int(11) DEFAULT NULL, `exif` text, `size` int(11) DEFAULT NULL, `star` tinyint(4) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8; ~~~