sogo/OGoContentStore/sql/appointment-create.psql
Wolfgang Sourdeau 91f4814b93 Monotone-Parent: 873696f0482e8408c8fda6ce2156c1afc61c2e60
Monotone-Revision: 3328f2ce69441267c3e26760ff9d47e40742ed94

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-03-05T22:32:47
Monotone-Branch: ca.inverse.sogo
2007-03-05 22:32:47 +00:00

31 lines
1.2 KiB
Plaintext

--
-- (C) 2004-2005 SKYRIX Software AG
--
CREATE TABLE %s_quick (
c_name VARCHAR(256) NOT NULL PRIMARY KEY, -- the filename
uid VARCHAR(256) NOT NULL,
startdate INT NOT NULL,
enddate INT NOT NULL,
title VARCHAR(1000) NOT NULL,
participants VARCHAR(100000) NOT NULL, -- the CNs of the participants
isallday INT NULL,
iscycle INT NULL, -- client needs to fetch to resolve
classification INT NOT NULL,
status INT NOT NULL,
isopaque INT NOT NULL,
location VARCHAR(256) NULL,
orgmail VARCHAR(256) NULL,
partmails VARCHAR(100000) NOT NULL, -- the emails of the participants
partstates VARCHAR(256) NOT NULL, -- the status of each participant
sequence INT NULL -- the iCal sequence
);
CREATE TABLE %s_blob (
c_name VARCHAR(256) NOT NULL PRIMARY KEY, -- the filename
c_content VARCHAR(100000) NOT NULL, -- the BLOB
c_creationdate INT NOT NULL, -- creation date
c_lastmodified INT NOT NULL, -- last modification (UPDATE)
c_version INT NOT NULL, -- version counter
);