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


create table CMCRYPTOKEYS (
	CRYPTOKEY		nvarchar(127)	not null,
	DATA			image,
	constraint PK_CMCRYPTOKEYS primary key (CRYPTOKEY)
)

create table CMCAKEYS (
	CAKEY		nvarchar(127)	not null,
	DATA			image,
	constraint PK_CMCAKEYS primary key (CAKEY)
)

CREATE TABLE CMCAPROPS (
	PROPNAME	varchar (50) NOT NULL ,
	PROPINTVALUE	int default (0) NOT NULL,
	PROPVALUE	ntext NULL ,
	CONSTRAINT PK_CMCAPROPS PRIMARY KEY (PROPNAME)
)

INSERT INTO CMCAPROPS (PROPNAME, PROPINTVALUE, PROPVALUE) VALUES ('FRESHNESS', 0, NULL)