-- [JUNCTIONS]

CREATE TABLE JUNCTIONS
(
  ID VARCHAR(32) PRIMARY KEY REFERENCES _NODE(ID)
, Elevation NUMERIC NOT NULL
, Demand NUMERIC
, Pattern VARCHAR(32) REFERENCES _PATTERN(ID)
);
