-- 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.0063,4.0001)
alter table CMOBJPROPS31 add PDSAUDITLVL tinyint NULL

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.006801,4.0001)
alter table CMOBJPROPS48 add PDSCONNECTIONS int NULL

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.0063,4.0001)
CREATE TABLE CMOBJPROPS58 (
	CMID			int NOT NULL ,
	PDSELISTAXSCACHE	int NULL,
	PDSSHOWCELLANN		bit NULL,
	PDSMAXPROCS		int NULL,
 	CONSTRAINT PK_CMOBJPROPS58 PRIMARY KEY (CMID)
)

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.0063,4.0001)
INSERT INTO CMOBJPROPS58(CMID) SELECT CMID FROM CMOBJECTS WHERE CLASSID IN (4, 14, 34)

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.0063,4.0001)
!RunCMScript CMUpgradeScript_configuration_update_11.xml

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.006801,4.0001)
!RunCMScript CMUpgradeScript_configuration_update_11_2.xml