-- 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.006801,4.0001)
CREATE TABLE CMOBJPROPS48 (
	CMID			int NOT NULL,
	constraint PK_CMOBJPROPS48 primary key (CMID)
)

alter table CMOBJPROPS48 add ASCONNECTIONS int NULL;

alter table CMOBJPROPS48 add CMSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add DDSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add DISCONNECTIONS int NULL;

alter table CMOBJPROPS48 add DSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add IDSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add ISSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add IUSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add JSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add MBSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add MMSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add PACSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add PRSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add PTSCONNECTIONS int NULL;

alter table CMOBJPROPS48 add BRSCHHOTSPOTLIMIT int NULL;

alter table CMOBJPROPS48 add RSCHHOTSPOTLIMIT int NULL;

--CMSCRIPT_UPGRADE_SKIP_COMMAND(3.006801,4.0001)
insert into CMOBJPROPS48(CMID) select CMID from CMOBJECTS where CLASSID in (4,34,14)

insert into CMOBJPROPS48(CMID) select CMID from CMOBJECTS where CLASSID in (83,47,155,84,88,99,164,165,166,177,170,171,172,176,65,25)

!RunCMScript CMUpgradeScript_configuration_update_8.xml
