update SYSPARAMETERS set VALUESTRING = '1'  where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionHigh';
update SYSPARAMETERS set VALUESTRING = '150' where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionLow';
update SYSPARAMETERS set VALUESTRING = '2005-08-09' where CONTEXT = 'SYSTEMINFO' and name = 'DBCreationDate';

create table TABVIEWS (
TABVIEWID            INTEGER                        not null,
UNIQUENAME           VARCHAR(128)                   not null,
FLAG                 INTEGER,
STATUS               INTEGER,
VIEWTYPEID           INTEGER,
ENABLED              INTEGER,
constraint PK_TABVIEWS primary key (TABVIEWID)
);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (1, 'DOCUMENT_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (2, 'MESSENGER_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (3, 'PROFILE_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (4, 'SEARCH_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (5, 'HELP_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (6, 'BESTSELLER_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (7, 'LATESTADDITIONS_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (8, 'ADMINISTRATION_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (9, 'PROJECT_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (10, 'STATISTICS_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (11, 'HISTORY_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (12, 'FAVORITES_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (13, 'NEWS_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (14, 'WORKFLOW_TAB', null, null, 1, 1);

insert into TABVIEWS
            (TABVIEWID, UNIQUENAME, FLAG, STATUS, VIEWTYPEID, ENABLED)
     values (15, 'TRASH_TAB', null, null, 1, 1);

create generator TABVIEWS_SEQ;
set generator TABVIEWS_SEQ to 16;

commit;