column 'id' was dropped from table 'data'

The following commands create a table similar to previous table 'data' but without column 'id' (which is obsolete):

CREATE TABLE data (
    datetime timestamp with time zone NOT NULL,
    value double precision NOT NULL,
    flags integer NOT NULL,
    timeseries_id integer NOT NULL,
    PRIMARY KEY (timeseries_id, datetime),
    FOREIGN KEY (timeseries_id) REFERENCES timeseries(id),
    CHECK (flags >= 0)
);
CREATE INDEX ON data(datetime);
CREATE INDEX ON data(timeseries_id);
CREATE INDEX ON data(value);

This issue has been successfully finished in commit ea95c39e.

Edited by Sabine Schröder