
insert into sequpdate_state(updateid,uid) values('addbquadvirtualpoint',2.0);

ALTER TABLE public.quaadpoint_tag ADD isglobalscope bool NOT NULL DEFAULT false;

update quaadpoint_tag set isglobalscope=true,scope='legaldocument' where id =( select quaadpoint_tag.id from quaadpoint_tag, link_quaad_tag where link_quaad_tag.id_quaadpoint =15 and link_quaad_tag.id_tag =quaadpoint_tag.id );
