-- [DEMANDS]

create table demands
(
  _order serial primary key
, junction varchar(32) references junctions(id) not null
, demand float8 not null
, pattern varchar(32) references _pattern(id)
, category text
);

-- delete when delete junction
-- unset pattern when delete pattern
