12345678910111213141516171819 |
- <?php return array (
- 'time' => 1450621476,
- 'table' => 'server_stat',
- 'create' => 'DROP TABLE IF EXISTS `server_stat`;CREATE TABLE `server_stat`(`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 \'名称\',`data_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'名称\',`value` TEXT(255) COMMENT \'当前记录值\',`receive` VARCHAR(255) NOT NULL DEFAULT \'\' COMMENT \'接收到的指令\',`reorder` INT(11) 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,
- 'park_id' => 1,
- 'device_id' => 2,
- 'system_id' => 3,
- 'code_id' => 4,
- 'data_id' => 5,
- 'value' => 6,
- 'receive' => 7,
- 'reorder' => 8,
- 'state' => 9,
- 'cdate' => 10,
- ),
- );
|