diff --git a/src/migrations/db_migrations/V41__contros_2553.sql b/src/migrations/db_migrations/V41__contros_2553.sql index ebb58e648..0be8d1b0f 100644 --- a/src/migrations/db_migrations/V41__contros_2553.sql +++ b/src/migrations/db_migrations/V41__contros_2553.sql @@ -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; \ No newline at end of file + 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); \ No newline at end of file