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

-- --------------------------------------------
CREATE INDEX sample_idx
  ON public.sample
  USING btree
  (id);


CREATE INDEX attribute_idx
  ON public.attribute
  USING btree
  (analysis_id, sample_id, name COLLATE pg_catalog."default");

CREATE INDEX analysis_idx
  ON public.analysis
  USING btree
  (id);


CREATE INDEX filter_idx
  ON public.filter
  USING btree
  (id);
    

CREATE INDEX annotation_database_idx
  ON public.annotation_database
  USING btree
  (reference_id, name, version);
CREATE INDEX annotation_database_idx2
  ON public.annotation_database
  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)
);

