-- Licensed Materials - Property of IBM
--
-- BI and PM: CM
--
-- (C) Copyright IBM Corp. 2008, 2013
--
-- US Government Users Restricted Rights - Use, duplication or disclosure
-- restricted by GSA ADP Schedule Contract with IBM Corp.

-- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
-- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).


alter table CMOBJPROPS1 add (  NOTIFICATIONEMAIL varchar2 (768) NULL );

alter table CMOBJPROPS20 add (  ALLOWNOTIFICATION number(1) null );

CREATE TABLE  CMREFORD2 (
	CMID		number(10) NOT NULL,
	ORD			number(10) NOT NULL,
	REFCMID		number(10) NOT NULL,
	constraint PK_CMREFORD2 primary key (CMID,ORD) );


INSERT INTO CMREFORD2 (CMID,ORD,REFCMID) SELECT CMID,ORD,REFCMID FROM CMREFORD1 WHERE PROPID=35;

create index IDX_CMREFORD2 on CMREFORD2(REFCMID, ORD);

DELETE FROM CMREFORD1 WHERE PROPID=35;
