12345678910111213141516171819 |
- <?php return array (
- 'time' => 1449933503,
- 'table' => 'image_upload',
- 'create' => 'DROP TABLE IF EXISTS `image_upload`;CREATE TABLE `image_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 \'大小\',`water` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'水印图\',`water_position` INT(1) NOT NULL DEFAULT \'1\' 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 \'录入时间\')',
- 'struct' =>
- array (
- 'id' => 0,
- 'name' => 1,
- 'width' => 2,
- 'height' => 3,
- 'size' => 4,
- 'water' => 5,
- 'water_position' => 6,
- 'cover' => 7,
- 'state' => 8,
- 'cdate' => 9,
- ),
- 'insert' => 'INSERT INTO `image_upload` (name,cover,state,cdate) VALUES ("默认配置",1,1,1449933503),("头像图片配置",1,1,1449933503),("用户上传图片配置",1,1,1449933503),("水印图配置",1,1,1449933503)',
- );
|