]> err.no Git - scalable-opengroupware.org/blob - SOGo/OGoContentStore/sql/appointment-create.psql
work on defaults(profile) functionality
[scalable-opengroupware.org] / SOGo / OGoContentStore / sql / appointment-create.psql
1 --
2 -- (C) 2004-2005 SKYRIX Software AG
3 --
4
5 CREATE TABLE %s_quick (
6   c_name       VARCHAR(256)    NOT NULL PRIMARY KEY, -- the filename
7   uid          VARCHAR(256)    NOT NULL,
8   startdate    INT NOT NULL,
9   enddate      INT NOT NULL,
10   title        VARCHAR(1000)   NOT NULL,
11   participants VARCHAR(100000) NOT NULL, -- the CNs of the participants
12   isallday     INT             NULL,
13   iscycle      INT             NULL,     -- client needs to fetch to resolve
14   ispublic     INT             NOT NULL,
15   status       INT             NOT NULL,
16   isopaque     INT             NULL,
17   location     VARCHAR(256)    NULL,
18   orgmail      VARCHAR(256)    NULL,
19   partmails    VARCHAR(100000) NOT NULL, -- the emails of the participants
20   partstates   VARCHAR(256)    NOT NULL, -- the status of each participant
21   sequence     INT             NULL      -- the iCal sequence
22 );
23
24 CREATE TABLE %s_blob (
25   c_name         VARCHAR(256)    NOT NULL PRIMARY KEY, -- the filename
26   c_content      VARCHAR(100000) NOT NULL, -- the BLOB
27   c_creationdate INT             NOT NULL, -- creation date
28   c_lastmodified INT             NOT NULL, -- last modification (UPDATE)
29   c_version      INT             NOT NULL, -- version counter
30 );