1 CREATE TABLE `tmp_sensor_values` (
2 `id` int(11) NOT NULL DEFAULT '0',
3 `sensor_id` int(11) NOT NULL,
4 `timestamp` datetime NOT NULL,
5 `value` float NOT NULL,
6 `parameter_id` int(11) NOT NULL,
7 `reduced` int(11) DEFAULT '0'
8 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;