12345678910111213141516 |
- <?php return array (
- 'time' => 1449934559,
- 'table' => 'company_device_log',
- 'create' => 'DROP TABLE IF EXISTS `company_device_log`;CREATE TABLE `company_device_log`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'ID\',`park_id` INT(11) NOT NULL DEFAULT \'-1\' COMMENT \'园区ID\',`device_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'设备ID\',`name` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'操作工程师\',`info` VARCHAR(500) NOT NULL DEFAULT \'\' COMMENT \'记录-仅限500个字符与汉字\',`sdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'日期\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\')',
- 'struct' =>
- array (
- 'id' => 0,
- 'park_id' => 1,
- 'device_id' => 2,
- 'name' => 3,
- 'info' => 4,
- 'sdate' => 5,
- 'state' => 6,
- 'cdate' => 7,
- ),
- );
|