-- Licensed Materials - Property of IBM
--
-- BI and PM: CM
--
-- (C) Copyright IBM Corp. 2008, 2009
--
-- 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).


CREATE TABLE  CMREFNOORD1 (
	PROPID			number(5) NOT NULL,
	CMID			number(10) not null,
	REFCMID			number(10) not null,
	constraint PK_CMREFNOORD1 primary key (CMID, PROPID) )

create index IDX_CMREFNOORD1 on CMREFNOORD1(REFCMID, PROPID)

CREATE TABLE  CMREFORD1 (
	PROPID			number(5) NOT NULL,
	CMID			number(10) not null,
	ORD			number(10) NOT NULL,
	REFCMID			number(10) not null,
	constraint PK_CMREFORD1 primary key (CMID, PROPID, ORD) )

create index IDX_CMREFORD1 on CMREFORD1(REFCMID, PROPID, ORD)

!RunCMScript CMUpgradeScript_deletedObjectFolder_add.xml

!RunCMScript CMUpgradeScript_deletedObjectFolder_update.xml
