server_content 950 B

123456789101112131415161718
  1. <?php return array (
  2. 'time' => 1450621485,
  3. 'table' => 'server_content',
  4. 'create' => 'DROP TABLE IF EXISTS `server_content`;CREATE TABLE `server_content`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'ID\',`park_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'园区ID\',`device_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'设备\',`system_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'系统ID\',`code_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'命令码ID\',`content` TEXT(255) COMMENT \'文本内容\',`source` TEXT(255) COMMENT \'原始内容\',`data` TEXT(255) 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. 'system_id' => 3,
  11. 'code_id' => 4,
  12. 'content' => 5,
  13. 'source' => 6,
  14. 'data' => 7,
  15. 'state' => 8,
  16. 'cdate' => 9,
  17. ),
  18. );