company_device_log 880 B

12345678910111213141516
  1. <?php return array (
  2. 'time' => 1449934559,
  3. 'table' => 'company_device_log',
  4. '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 \'录入时间\')',
  5. 'struct' =>
  6. array (
  7. 'id' => 0,
  8. 'park_id' => 1,
  9. 'device_id' => 2,
  10. 'name' => 3,
  11. 'info' => 4,
  12. 'sdate' => 5,
  13. 'state' => 6,
  14. 'cdate' => 7,
  15. ),
  16. );