CREATE TABLE DB_VERSIONS (
ID int identity(0,1) NOT NULL,
PRODUCT_ID smallint DEFAULT -1 NOT NULL,
VERSION int DEFAULT -1 NOT NULL,
STAMP datetime DEFAULT 0 NOT NULL
)
;
CREATE TABLE HDA_FOLDERS (
ID int identity(0,1) NOT NULL,
PARENT_ID int DEFAULT -1 NOT NULL,
NAME varchar(200) DEFAULT 'HDA Group' NOT NULL,
DESCRIPTION varchar(1000),
IS_LOG_GROUP smallint DEFAULT 0 NOT NULL,
MSTAMP datetime DEFAULT 0 NOT NULL
)
;
CREATE TABLE HDA_ITEMS (
ID int identity(0,1) NOT NULL,
HDA_FOLDERS_ID int DEFAULT -1 NOT NULL,
NAME varchar(200) DEFAULT 'HDA Item' NOT NULL,
DESCRIPTION varchar(1000),
MSTAMP datetime DEFAULT 0 NOT NULL,
DA_ITEMID varchar(500) NOT NULL
)
;
I'm using the latest 5.0 beta