2009-09-25 06:30:23 +07:00
|
|
|
-- Bug 2795492 - Tables without primary key
|
|
|
|
|
|
|
|
ALTER TABLE AD_DOCUMENT_ACTION_ACCESS ADD CONSTRAINT AD_DOCUMENT_ACTION_ACCESS_KEY PRIMARY KEY (AD_ROLE_ID, C_DOCTYPE_ID, AD_REF_LIST_ID);
|
|
|
|
|
2009-09-25 18:38:03 +07:00
|
|
|
DROP INDEX r_contactinterest_key;
|
2009-09-25 06:30:23 +07:00
|
|
|
ALTER TABLE R_CONTACTINTEREST ADD CONSTRAINT R_CONTACTINTEREST_KEY PRIMARY KEY (AD_USER_ID, R_INTERESTAREA_ID);
|
|
|
|
|