-- Licensed Materials - Property of IBM
--
-- BI and PM: CM
--
-- (C) Copyright IBM Corp. 2016
--
-- US Government Users Restricted Rights - Use, duplication or disclosure
-- restricted by GSA ADP Schedule Contract with IBM Corp.

alter table CMOBJPROPS37 add column PROFILERANK integer with default 0 not null

alter table CMOBJPROPS37 add column PROFILESETTINGS clob (100K)

CREATE AUXILIARY TABLE CMATB129
   IN CMSCRIPT_DATABASE.CMSCRIPT_CS_IDCML129
   STORES CMOBJPROPS37
   COLUMN PROFILESETTINGS;
   
CREATE UNIQUE INDEX CMIDX129 ON CMATB129 USING STOGROUP CMSCRIPT_STOGROUP;

!RunCMScript CMUpgradeScript_system_profile_add.xml
