-- 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			number(10) NOT NULL,
	constraint PK_CMOBJPROPS48 primary key (CMID)
);

alter table CMOBJPROPS48 add ASCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add CMSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add DDSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add DISCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add DSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add IDSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add ISSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add IUSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add JSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add MBSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add MMSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add PACSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add PRSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add PTSCONNECTIONS number(10) null;

alter table CMOBJPROPS48 add BRSCHHOTSPOTLIMIT number(10) null;

alter table CMOBJPROPS48 add RSCHHOTSPOTLIMIT number(10) 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
