Changeset 8
- Timestamp:
- 20/04/06 00:57:57 (3 years ago)
- Files:
-
- 1 modified
-
trunk/tools/db-setup.pgsql (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/db-setup.pgsql
r7 r8 20 20 "hash" varchar(40) ); 21 21 22 CREATE SEQUENCE "object-sequence";23 24 22 -- 25 23 -- Session manager tables … … 32 30 CREATE TABLE "active" ( 33 31 "collection-owner" text PRIMARY KEY, 34 "object-sequence" bigint,32 "object-sequence" serial, 35 33 "time" integer ); 36 34 … … 41 39 CREATE TABLE "logout" ( 42 40 "collection-owner" text PRIMARY KEY, 43 "object-sequence" bigint,41 "object-sequence" serial, 44 42 "time" integer NOT NULL ); 45 43 … … 50 48 CREATE TABLE "roster-items" ( 51 49 "collection-owner" text, 52 "object-sequence" bigint,50 "object-sequence" serial, 53 51 "jid" text NOT NULL, 54 52 "name" text, … … 66 64 CREATE TABLE "roster-groups" ( 67 65 "collection-owner" text, 68 "object-sequence" bigint,66 "object-sequence" serial, 69 67 "jid" text NOT NULL, 70 68 "group" text NOT NULL, … … 80 78 CREATE TABLE "vcard" ( 81 79 "collection-owner" text PRIMARY KEY, 82 "object-sequence" bigint,80 "object-sequence" serial, 83 81 "fn" text, 84 82 "nickname" text, … … 135 133 CREATE TABLE "queue" ( 136 134 "collection-owner" text, 137 "object-sequence" bigint,135 "object-sequence" serial, 138 136 "xml" text NOT NULL ); 139 137 … … 146 144 CREATE TABLE "private" ( 147 145 "collection-owner" text, 148 "object-sequence" bigint,146 "object-sequence" serial, 149 147 "ns" text, 150 148 "xml" text, … … 159 157 CREATE TABLE "motd-message" ( 160 158 "collection-owner" text PRIMARY KEY, 161 "object-sequence" bigint,159 "object-sequence" serial, 162 160 "xml" text NOT NULL); 163 161 … … 168 166 CREATE TABLE "motd-times" ( 169 167 "collection-owner" text PRIMARY KEY, 170 "object-sequence" bigint,168 "object-sequence" serial, 171 169 "time" integer NOT NULL); 172 170 … … 177 175 CREATE TABLE "disco-items" ( 178 176 "collection-owner" text, 179 "object-sequence" bigint,177 "object-sequence" serial, 180 178 "jid" text, 181 179 "name" text, … … 190 188 CREATE TABLE "privacy-default" ( 191 189 "collection-owner" text PRIMARY KEY, 192 "object-sequence" bigint,190 "object-sequence" serial, 193 191 "default" text ); 194 192 … … 199 197 CREATE TABLE "privacy-items" ( 200 198 "collection-owner" text, 201 "object-sequence" bigint,199 "object-sequence" serial, 202 200 "list" text NOT NULL, 203 201 "type" text, … … 215 213 CREATE TABLE "vacation-settings" ( 216 214 "collection-owner" text PRIMARY KEY, 217 "object-sequence" bigint,215 "object-sequence" serial, 218 216 "start" int, 219 217 "end" int, … … 226 224 CREATE TABLE "status" ( 227 225 "collection-owner" text PRIMARY KEY, 228 "object-sequence" bigint,226 "object-sequence" serial, 229 227 "status" text, 230 228 "show" text,
