   
 CREATE INDEX subject_indicator_idx
   ON public.subject_indicator_value
-  USING btree
-  (subject_id, indicator_id);
+  USING btree (subject_id, indicator_id);
 CREATE INDEX analysis_indicator_idx
   ON public.analysis_indicator_value
-  USING btree
-  (analysis_id, indicator_id);
+  USING btree (analysis_id, indicator_id);
 CREATE INDEX job_indicator_idx
   ON public.job_indicator_value
-  USING btree
-  (job_id, indicator_id);
+  USING btree (job_id, indicator_id);
 
 
 CREATE INDEX panel_entry_idx
   ON public.panel_entry
-  USING btree
-  (panel_id, version);
+  USING btree (panel_id, version);
   
   
 
-
+CREATE INDEX event_meta_idx 
+    ON event 
+    USING GIN (meta jsonb_path_ops);
 
 
 


CREATE INDEX annotation_field_idx
  ON public.annotation_field
  USING btree
  (database_uid, name);
CREATE INDEX annotation_field_idx2
  ON public.annotation_field
  USING btree (uid);

    "date" timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
    message text COLLATE pg_catalog."C",
    type event_type,
    meta JSONB,
    CONSTRAINT event_pkey PRIMARY KEY (id)
);

