223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
|
223
224
225
226
227
228
229
230
231
232
233
234
235
236
|
-
|
@ --
@ CREATE TABLE event(
@ type TEXT, -- Type of event
@ mtime DATETIME, -- Date and time when the event occurs
@ objid INTEGER PRIMARY KEY, -- Associated record ID
@ uid INTEGER REFERENCES user, -- User who caused the event
@ bgcolor TEXT, -- Color set by 'bgcolor' property
@ brbgcolor TEXT, -- Color set by 'br-bgcolor' property
@ euser TEXT, -- User set by 'user' property
@ user TEXT, -- Name of the user
@ ecomment TEXT, -- Comment set by 'comment' property
@ comment TEXT -- Comment describing the event
@ );
@ CREATE INDEX event_i1 ON event(mtime);
@
|
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
|
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
|
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
|
;
/*
** Predefined tagid values
*/
#if INTERFACE
# define TAG_BGCOLOR 1 /* Set the background color for display */
# define TAG_BRBGCOLOR 2 /* Background color for branches */
# define TAG_COMMENT 2 /* The check-in comment */
# define TAG_USER 3 /* User who made a checking */
# define TAG_HIDDEN 4 /* Do not display or sync */
# define TAG_PRIVATE 5 /* Display but do not sync */
# define TAG_CLUSTER 6 /* A cluster */
# define TAG_NEWBRANCH 7 /* First check-in of a new named branch */
# define TAG_CLOSED 8 /* Do not display this check-in as a leaf */
# define TAG_COMMENT 3 /* The check-in comment */
# define TAG_USER 4 /* User who made a checking */
# define TAG_HIDDEN 5 /* Do not display or sync */
# define TAG_PRIVATE 6 /* Display but do not sync */
# define TAG_CLUSTER 7 /* A cluster */
# define TAG_NEWBRANCH 8 /* First check-in of a new named branch */
# define TAG_CLOSED 9 /* Do not display this check-in as a leaf */
#endif
#if EXPORT_INTERFACE
# define MAX_INT_TAG 8 /* The largest pre-assigned tag id */
# define MAX_INT_TAG 9 /* The largest pre-assigned tag id */
#endif
/*
** The schema for the locate FOSSIL database file found at the root
** of very check-out. This database contains the complete state of
** the checkout.
*/
|