ALTER TABLE deliverynote ADD kindof varchar(100);
UPDATE deliverynote set kindof='new';
ALTER TABLE ONLY deliverynote DROP CONSTRAINT deliverynote_pkey;
ALTER TABLE ONLY deliverynote ADD CONSTRAINT deliverynote_pkey PRIMARY KEY (deliverynote,boardtype,kindof);

