Fix [2795492] - Tables without primary key
https://sourceforge.net/tracker/index.php?func=detail&aid=2795492&group_id=176962&atid=879332 Thanks to Moyses
This commit is contained in:
parent
077406dc41
commit
7dfca9586c
|
@ -0,0 +1,6 @@
|
|||
-- 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);
|
||||
|
||||
ALTER TABLE R_CONTACTINTEREST ADD CONSTRAINT R_CONTACTINTEREST_KEY PRIMARY KEY (AD_USER_ID, R_INTERESTAREA_ID);
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
-- 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);
|
||||
|
||||
ALTER TABLE R_CONTACTINTEREST ADD CONSTRAINT R_CONTACTINTEREST_KEY PRIMARY KEY (AD_USER_ID, R_INTERESTAREA_ID);
|
||||
|
Loading…
Reference in New Issue