
insert into sequpdate_state(updateid,uid) values('user_cfg',5.0);

 CREATE TABLE public.xusercfg (
	id int4 NOT NULL,
	"data" varchar NULL,
	cfgparameter_id int4 NOT NULL,
	CONSTRAINT staff_member_xusercfg_fk FOREIGN KEY (id) REFERENCES public.staff_member(id)
);

CREATE TABLE public.xusercfgparameter (
	cfgparameter_id int4 NOT NULL,
	vtype int4 NULL,
	"type" int4 NULL DEFAULT 1,
	vorder int4 NULL,
	variable varchar NOT NULL,
	"label" varchar NOT NULL,
	description varchar NULL,
	vdefault varchar NULL,
	CONSTRAINT xusercfgparameter_pk PRIMARY KEY (cfgparameter_id)
);
CREATE INDEX xusercfgparameteridx ON public.xusercfgparameter USING btree (variable);

INSERT INTO public.xusercfgparameter
(cfgparameter_id, vtype, "type", vorder, variable, "label", description, vdefault)
VALUES(110, 4, 5, 11000, 'DataTableConfiguration', 'DataTableConfiguration', 'DataTableConfiguration', '{}');
INSERT INTO public.xusercfgparameter
(cfgparameter_id, vtype, "type", vorder, variable, "label", description, vdefault)
VALUES(100, 4, 5, 10000, 'SplitterConfiguration', 'SplitterConfiguration', 'SplitterConfiguration', NULL);
