-- [PATTERNS] create table patterns ( _order serial primary key , id varchar(32) references _pattern(id) not null , factor float8 not null );