-- MySQL dump 10.13  Distrib 5.1.51, for pc-linux-gnu (i686)
--
-- Host: localhost    Database: torque
-- ------------------------------------------------------
-- Server version	5.1.51-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `key_name`
--

DROP TABLE IF EXISTS `key_name`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `key_name` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `pid` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `pid` (`pid`,`name`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `key_name`
--

LOCK TABLES `key_name` WRITE;
/*!40000 ALTER TABLE `key_name` DISABLE KEYS */;
INSERT INTO `key_name` VALUES (4,'k05','Coolant Temp'),(5,'k0c','Engine RPM'),(7,'k0d','Speed (odb)'),(10,'k0f','Intake Air Temperature'),(3,'k11','Throttle Position'),(2,'k2f','Fuel Level'),(1,'k4','Engine Load'),(11,'k46','Ambient Air Temp'),(12,'k5','Engine Coolant Temp'),(15,'kc','Engine RPM'),(14,'kd','Speed (ODB)'),(13,'kf','Intake Air Temp'),(6,'kff1001','Speed (gps)'),(8,'kff1201','MPG Instant'),(19,'kff1202','Turbo & Vacuum'),(16,'kff1220','Acceleration (X axis)'),(17,'kff1221','Acceleration (Y axis)'),(18,'kff1222','Acceleration (Z axis)'),(9,'kff5201','MPG Average');
/*!40000 ALTER TABLE `key_name` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `raw_logs`
--

DROP TABLE IF EXISTS `raw_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `raw_logs` (
  `v` varchar(1) NOT NULL,
  `session` varchar(15) NOT NULL,
  `id` varchar(32) NOT NULL,
  `time` varchar(15) NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  `kff1005` float NOT NULL DEFAULT '0',
  `kff1006` float NOT NULL DEFAULT '0',
  `kff1001` float NOT NULL DEFAULT '0' COMMENT 'Speed (gps)',
  `kff1007` float NOT NULL DEFAULT '0',
  `k4` float NOT NULL DEFAULT '0' COMMENT 'Engine Load',
  `k2f` float NOT NULL DEFAULT '0' COMMENT 'Fuel Level',
  `k11` float NOT NULL DEFAULT '0' COMMENT 'Throttle Position',
  `k5` float NOT NULL DEFAULT '0' COMMENT 'Engine Coolant Temp',
  `kc` float NOT NULL DEFAULT '0' COMMENT 'Engine RPM',
  `kd` float NOT NULL DEFAULT '0' COMMENT 'Speed (odb)',
  `kf` float NOT NULL DEFAULT '0' COMMENT 'Intake Air Temp',
  `kff1226` float NOT NULL DEFAULT '0' COMMENT 'Horsepower',
  `kff1220` float NOT NULL DEFAULT '0' COMMENT 'Accel (X)',
  `kff1221` float NOT NULL DEFAULT '0' COMMENT 'Accel (Y)',
  `k46` float NOT NULL DEFAULT '0' COMMENT 'Ambiant Air Temp',
  `kff1222` float NOT NULL DEFAULT '0',
  `kff1201` varchar(255) NOT NULL DEFAULT '0',
  `kff1202` varchar(255) NOT NULL DEFAULT '0',
  `kff5201` varchar(255) NOT NULL DEFAULT '0',
  `kff1010` varchar(255) NOT NULL DEFAULT '0',
  `kff1204` varchar(255) NOT NULL DEFAULT '0',
  `kff1223` varchar(255) NOT NULL DEFAULT '0',
  KEY `session_3` (`session`,`id`,`deleted`),
  KEY `session` (`session`,`id`),
  KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2011-04-05 18:17:33
