-- measurement of bay

DROP TABLE IF EXISTS MEASUREMENT;

CREATE TABLE MEASUREMENT (
    ID SERIAL PRIMARY KEY,
    TAG VARCHAR(64) NOT NULL DEFAULT '',
    NAME VARCHAR(64) NOT NULL DEFAULT '',
    BAY_ID INTEGER NOT NULL DEFAULT -1
);