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