Diffstat (limited to 'development/pim/dbpaper/tables.tex') (more/less context) (ignore whitespace changes)
-rw-r--r-- | development/pim/dbpaper/tables.tex | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/development/pim/dbpaper/tables.tex b/development/pim/dbpaper/tables.tex index ac28a47..64ae02d 100644 --- a/development/pim/dbpaper/tables.tex +++ b/development/pim/dbpaper/tables.tex | |||
@@ -62,7 +62,7 @@ Recurrence:\\ | |||
62 | \begin{verbatim} | 62 | \begin{verbatim} |
63 | CREATE TABLE RECURRENCE ( | 63 | CREATE TABLE RECURRENCE ( |
64 | UID int NOT NULL UNIQUE, | 64 | UID int NOT NULL UNIQUE, |
65 | TID int NOT NULL | 65 | TID int NOT NULL |
66 | RType int, | 66 | RType int, |
67 | RWeekDays int, | 67 | RWeekDays int, |
68 | RPosition int, | 68 | RPosition int, |
@@ -128,11 +128,12 @@ Personal data: \\ | |||
128 | \hline | 128 | \hline |
129 | \end{tabular} | 129 | \end{tabular} |
130 | \begin{verbatim} | 130 | \begin{verbatim} |
131 | CREATE TABLE PERSONAL_DATA_CONTACT ( | 131 | CREATE TABLE PERSONAL_DATA ( |
132 | UID int NOT NULL UNIQUE, | 132 | UID int NOT NULL UNIQUE, |
133 | ID int AUTOINCREMENT, | 133 | ID int AUTOINCREMENT, |
134 | Ident text, | 134 | Ident text, |
135 | Value text, | 135 | Priority int, |
136 | Value text, | ||
136 | PRIMARY KEY(UID,ID) | 137 | PRIMARY KEY(UID,ID) |
137 | ); | 138 | ); |
138 | \end{verbatim} | 139 | \end{verbatim} |
@@ -171,10 +172,10 @@ CrossRef: \\ | |||
171 | CREATE TABLE CROSSREF ( | 172 | CREATE TABLE CROSSREF ( |
172 | TID1 int NOT NULL, | 173 | TID1 int NOT NULL, |
173 | UID1 int NOT NULL, | 174 | UID1 int NOT NULL, |
174 | Item1 int NOT NULL, | 175 | ID1 int NOT NULL, |
175 | TID2 int MOT NULL, | 176 | TID2 int NOT NULL, |
176 | UID2 int NOT NULL, | 177 | UID2 int NOT NULL, |
177 | Item2 int NOT NULL, | 178 | ID2 int NOT NULL, |
178 | PRIMARY KEY() | 179 | PRIMARY KEY() |
179 | ); | 180 | ); |
180 | \end{verbatim} | 181 | \end{verbatim} |
@@ -194,7 +195,7 @@ CREATE TABLE CATEGORY ( | |||
194 | UID int NOT NULL UNIQUE, | 195 | UID int NOT NULL UNIQUE, |
195 | Name text, | 196 | Name text, |
196 | ApplicationName text, | 197 | ApplicationName text, |
197 | ForeGroundColor text,<-- maybe hex? | 198 | ForeGroundColor text, <-- maybe hex? |
198 | BackGroundColor text, | 199 | BackGroundColor text, |
199 | PRIMARY KEY(UID) | 200 | PRIMARY KEY(UID) |
200 | ); | 201 | ); |
@@ -237,7 +238,7 @@ CREATE TABLE APPLICATION ( | |||
237 | \end{verbatim} | 238 | \end{verbatim} |
238 | 239 | ||
239 | \noindent | 240 | \noindent |
240 | Location: \\ | 241 | Location: \\ |
241 | \begin{tabular}[ht]{|l|l|} | 242 | \begin{tabular}[ht]{|l|l|} |
242 | \hline | 243 | \hline |
243 | \underline{UID} & Name \\ | 244 | \underline{UID} & Name \\ |