   "id" serial NOT NULL,
   "record_id" integer NOT NULL,
   "layout_id" integer NOT NULL,
-  "value" text,
+  "value" citext,
   PRIMARY KEY ("id")
 );
 CREATE INDEX "string_idx_layout_id" on "string" ("layout_id");

CREATE TABLE "enumval" (
  "id" serial NOT NULL,
  "enum_id" integer,
  "value" text,
  "layout_id" integer,
  "deleted" smallint DEFAULT 0 NOT NULL,
  "parent" integer,

  "id" serial NOT NULL,
  "firstname" character varying(45),
  "surname" character varying(45),
  "email" citext,
  "username" citext,
  "title" integer,
  "organisation" integer,
  "telephone" character varying(128),
