12345678910111213141516171819 |
- <?php return array (
- 'time' => 1480978557,
- 'table' => 'upload_file',
- 'create' => 'DROP TABLE IF EXISTS `upload_file`;CREATE TABLE `upload_file`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'ID\',`name` VARCHAR(32) NOT NULL DEFAULT \'\' COMMENT \'文件名\',`source_name` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'原文件名\',`key` VARCHAR(32) NOT NULL DEFAULT \'\' COMMENT \'KEY\',`ext` VARCHAR(24) NOT NULL DEFAULT \'\' COMMENT \'后缀名\',`file` VARCHAR(150) 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 \'大小\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\') ENGINE = innodb',
- 'struct' =>
- array (
- 'id' => 0,
- 'name' => 1,
- 'source_name' => 2,
- 'key' => 3,
- 'ext' => 4,
- 'file' => 5,
- 'width' => 6,
- 'height' => 7,
- 'size' => 8,
- 'state' => 9,
- 'cdate' => 10,
- ),
- );
|