-- [HISTORY_PATTERNS_FLOWS]
-- WMH
-- 2025/01/12
-- Save pattern and pattern based history flow data. Use it for flow update pattern
create table history_patterns_flows
(
  _order serial primary key
, id varchar(32) references _pattern(id) not null
, factor float8 not null
, flow float8 not null
);