smon/sql/00014.sql

5 lines
236 B
MySQL
Raw Permalink Normal View History

2024-05-25 09:40:40 +02:00
ALTER TABLE datapoint ADD COLUMN nodata_problem_seconds INT4 NOT NULL DEFAULT 0;
ALTER TABLE datapoint ADD COLUMN nodata_is_problem BOOL NOT NULL DEFAULT false;
CREATE INDEX datapoint_last_value_idx ON public.datapoint ("last_value");