123456789101112131415161718 |
- <?php return array (
- 'time' => 1480978557,
- 'table' => 'upload_upload',
- 'create' => 'DROP TABLE IF EXISTS `upload_upload`;CREATE TABLE `upload_upload`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'配置ID\',`name` VARCHAR(24) NOT NULL DEFAULT \'\' COMMENT \'配置名\',`width` INT(11) NOT NULL DEFAULT 0 COMMENT \'限制宽度\',`height` INT(11) NOT NULL DEFAULT 0 COMMENT \'限制高度\',`size` INT(11) NOT NULL DEFAULT 0 COMMENT \'限制大小(字节)\',`type` VARCHAR(255) NOT NULL DEFAULT \'\' COMMENT \'限制文件后缀类型-多个用逗号隔开\',`cover` INT(1) NOT NULL DEFAULT \'1\' COMMENT \'是否覆盖\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\') ENGINE = innodb',
- 'struct' =>
- array (
- 'id' => 0,
- 'name' => 1,
- 'width' => 2,
- 'height' => 3,
- 'size' => 4,
- 'type' => 5,
- 'cover' => 6,
- 'state' => 7,
- 'cdate' => 8,
- ),
- 'insert' => 'INSERT INTO `upload_upload` (name,cover,type,state,cdate) VALUES ("默认图片配置",1,"jpg,png,gif",1,1480978557),("默认音频配置",1,"mp3",1,1480978557),("默认视频配置",1,"mp4",1,1480978557),("默认文件配置",1,"jpg,png,gif,doc,pdf,rar,zip,xls,xlsx,docx",1,1480978557)',
- );
|