-- 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).


--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.0061,4.0001)
alter table CMOBJPROPS31 add (  DMSAUDITLVL number(3) null);

alter table CMOBJPROPS48 add (  DMSCONNECTIONS number(10) null);

insert into CMOBJPROPS48(CMID) select CMID from CMOBJECTS where CLASSID in (186);

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.0061,4.0001)
CREATE TABLE CMOBJPROPS56 (
	CMID			number(10) NOT NULL,
	SPEC			clob NULL,
	CONSTRAINT PK_CMOBJPROPS56 PRIMARY KEY (CMID) 
);

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.0061,4.0001)
!RunCMScript CMUpgradeScript_configuration_update_9.xml

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.0061,4.0001)
!RunCMScript CMUpgradeScript_capabilities_29_add.xml

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.0061,4.0001)
!RunCMScript CMUpgradeScript_capabilities_29_update.xml

!RunCMScript CMUpgradeScript_configuration_update_9_1.xml
