(core) new database structure options to make SOGo use a total of nine tables

This commit is contained in:
Ludovic Marcotte
2016-03-10 16:34:06 -05:00
parent 819851bb92
commit 4ac41dace7
25 changed files with 1055 additions and 118 deletions

View File

@@ -0,0 +1,17 @@
--
-- (C) 2004-2005 SKYRIX Software AG
-- (C) 2006-2007 Inverse inc.
--
CREATE TABLE @{tableName} (
c_uid VARCHAR(255) NOT NULL,
c_path VARCHAR(255) NOT NULL,
c_parent_path VARCHAR(255),
c_type SMALLINT NOT NULL,
c_creationdate INT NOT NULL,
c_lastmodified INT NOT NULL,
c_version INT NOT NULL DEFAULT 0,
c_deleted SMALLINT NOT NULL DEFAULT 0,
c_content TEXT,
CONSTRAINT @{tableName}_pkey PRIMARY KEY (c_uid, c_path)
);