Skip to content

Commit

Permalink
(#2553) Water Temperature required for CONTROS
Browse files Browse the repository at this point in the history
  • Loading branch information
squaregoldfish committed Feb 6, 2024
1 parent b30c49c commit 8ac34bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/migrations/db_migrations/V41__contros_2553.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ UPDATE variables SET properties = '{"coefficients": ["F", "Runtime", "k1", "k2",
-- Add zero interpolation mode question
UPDATE variables SET attributes =
'{"zero_mode": {"name": "Measurement mode", "type": "ENUM", "values": ["Continuous", "Zero before sleep", "Zero after sleep"]}, "zero_flush": {"name": "Zero Flushing Time (s)", "type": "NUMBER"}}'
WHERE id = 6;
WHERE id = 6;

-- Add Water Temperature as a required sensor
INSERT INTO variable_sensors (variable_id, sensor_type, core, questionable_cascade, bad_cascade)
VALUES (6, 1, 0, 3, 4);

0 comments on commit 8ac34bf

Please sign in to comment.