   "value" varchar(255) not null,
   range_name varchar(255) not null, 
   range_value bigint not null,
-  primary key(cls, id, name, "value"),
+  primary key (cls, id, name, "value"),
   foreign key (cls, id) references entity (cls, id)
 );
 

create table signal_queue (
  seq_num identity,
  cls varchar(512) not null,
  id  varchar(255) not null,
  event_cls varchar(512) not null,
  event_bytes blob not null,
  primary key(seq_num)
);
  
create table delayed_signal_queue (
  seq_num identity,
  from_cls varchar(512) not null, 
  from_id varchar(255) not null,
  cls varchar(512) not null,

  id varchar(255) not null,
  name varchar(255) not null, 
  "value" varchar(255) not null,
  primary key (cls, id, name, "value"),
  foreign key (cls, id) references entity (cls, id)
);

