Skip to content

Commit 67b30d9

Browse files
committed
Had a bug from a bad find/replace in a DB create script, and a straight up typo in another. Fixed now.
1 parent 2683973 commit 67b30d9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

scripts/create_torque_keys_table.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CREATE TABLE `torque_keys` (
2020
`description` varchar(255) COMMENT 'Description',
2121
`type` varchar(255) NOT NULL DEFAULT 'varchar(255)' COMMENT 'Variable Type',
2222
`units` varchar(255) COMMENT 'Units',
23-
`populated, favorite` boolean NOT NULL DEFAULT '0' COMMENT 'Is This Variable Populated?',
23+
`populated` boolean NOT NULL DEFAULT '0' COMMENT 'Is This Variable Populated?',
2424
`favorite` boolean NOT NULL DEFAULT '0' COMMENT 'Pre-select this variable for plotting?',
2525
`min` float COMMENT 'Minimum Value',
2626
`max` float COMMENT 'Maximum Value',
@@ -104,7 +104,7 @@ INSERT INTO torque_keys (id, description, type, units, populated, favorite, min,
104104
INSERT INTO torque_keys (id, description, type, units, populated, favorite, min, max) VALUES ('k19','Fuel Trim Bank 2 Sensor 2','float','%',1,0,-100,100);
105105
INSERT INTO torque_keys (id, description, type, units, populated, favorite, min, max) VALUES ('k1a','Fuel Trim Bank 2 Sensor 3','float','%',1,0,-100,100);
106106
INSERT INTO torque_keys (id, description, type, units, populated, favorite, min, max) VALUES ('k1b','Fuel Trim Bank 2 Sensor 4','float','%',1,0,-100,100);
107-
INSERT INTO torque_keys (id, description, type, units, populated, favorite, min, max) VALUES ('k8','Fuel Trim Bank 2 Short Term','float','%',1,0.-25,25);
107+
INSERT INTO torque_keys (id, description, type, units, populated, favorite, min, max) VALUES ('k8','Fuel Trim Bank 2 Short Term','float','%',1,0,-25,25);
108108
INSERT INTO torque_keys (id, description, type, units, populated, favorite, min, max) VALUES ('kff1271','Fuel Used (Trip)','float','l',1,0,0,100);
109109
INSERT INTO torque_keys (id, description, type, units, populated, favorite, min, max) VALUES ('kff1239','GPS Accuracy','float','m',1,0,0,100);
110110
INSERT INTO torque_keys (id, description, type, units, populated, favorite, min, max) VALUES ('kff1010','GPS Altitude','float','m',1,0,0,100);

scripts/create_torque_log_table.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,5 @@ CREATE TABLE `raw_logs` (
168168
`kff5201` float NOT NULL DEFAULT '0',
169169
`kff5202` float NOT NULL DEFAULT '0',
170170
`kff5203` float NOT NULL DEFAULT '0',
171-
KEY `session` (`session`,`id`),
172-
KEY `id` (`id`)
171+
KEY `session` (`session`)
173172
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

0 commit comments

Comments
 (0)