-- [RESERVOIRS]

create table reservoirs
(
  id varchar(32) primary key references _node(id)
, head numeric not null
, pattern varchar(32) references _pattern(id)
);

-- unset pattern when delete pattern
