create database slidemdb;
use slidemdb;
create table objects(
uri blob not null, classname blob,
constraint uriIndex primary key (uri(255)) );
create table children(uri blob, childuri blob);
create table links(link blob, linkto blob);
create table permissions(object blob, revisionnumber varchar(20),
subject blob, action blob, inheritable int, negative int);
create table locks(id blob, object blob, subject blob, type blob,
expirationdate varchar(15), inheritable int, xexclusive int);
create table revisions(uri blob not null, primary key uriIndex
(uri(255)), isversioned int, initialrevision varchar(10) );
create table workingrevision(uri blob, baserevision varchar(20), xnumber
varchar(20) );
create table latestrevisions(uri blob, branchname blob, xnumber
varchar(20) );
create table branches(uri blob, xnumber varchar(20), childnumber
varchar(20) );
create table revision(uri blob, xnumber varchar(20), branchname blob);
create table label(uri blob, xnumber varchar(20), label blob);
create table property(uri blob, xnumber varchar(20), name blob, value
blob, namespace blob, type varchar(100), protected int);
create table revisioncontent(uri blob, xnumber varchar(20), content blob);
|