modified oracle db script to remove a foriegn key

merge-requests/7/head
pasinduj 9 years ago
parent e986518ce1
commit bb010bde28

@ -397,10 +397,7 @@ CREATE TABLE DM_DEVICE_POLICY_APPLIED (
CONSTRAINT PK_DM_POLICY_DEV_APPLIED PRIMARY KEY (ID) , CONSTRAINT PK_DM_POLICY_DEV_APPLIED PRIMARY KEY (ID) ,
CONSTRAINT FK_DM_POLICY_DEV_APPLIED CONSTRAINT FK_DM_POLICY_DEV_APPLIED
FOREIGN KEY (DEVICE_ID ) FOREIGN KEY (DEVICE_ID )
REFERENCES DM_DEVICE (ID ), REFERENCES DM_DEVICE (ID )
CONSTRAINT FK_DM_POLICY_DEV_APPLY_POLICY
FOREIGN KEY (POLICY_ID )
REFERENCES DM_POLICY (ID )
) )
/ /
-- Generate ID using sequence and trigger -- Generate ID using sequence and trigger

Loading…
Cancel
Save