Fossil SCM

Minor updates to the schema docs for the tagxref table. No functional changes.

stephan 2023-03-03 13:05 trunk
Commit 3037be63e21c1499a891c6835d980c4edeeee4afbd8fcbfeccd4996b10d7562c
1 file changed +6 -3
+6 -3
--- src/schema.c
+++ src/schema.c
@@ -391,14 +391,17 @@
391391
@ -- have values assigned to them. So we are not really dealing with
392392
@ -- tags here. These are really properties. But we are going to
393393
@ -- keep calling them tags because in many cases the value is ignored.
394394
@ --
395395
@ CREATE TABLE tagxref(
396
-@ tagid INTEGER REFERENCES tag, -- The tag that added or removed
396
+@ tagid INTEGER REFERENCES tag, -- The tag being added, removed,
397
+@ -- or propagated
397398
@ tagtype INTEGER, -- 0:-,cancel 1:+,single 2:*,propagate
398
-@ srcid INTEGER REFERENCES blob, -- Artifact of tag. 0 for propagated tags
399
-@ origid INTEGER REFERENCES blob, -- check-in holding propagated tag
399
+@ srcid INTEGER REFERENCES blob, -- Artifact tag originates from, or
400
+@ -- 0 for propagated tags
401
+@ origid INTEGER REFERENCES blob, -- Artifact holding propagated tag
402
+@ -- (any artifact type with a P-card)
400403
@ value TEXT, -- Value of the tag. Might be NULL.
401404
@ mtime TIMESTAMP, -- Time of addition or removal. Julian day
402405
@ rid INTEGER REFERENCE blob, -- Artifact tag is applied to
403406
@ UNIQUE(rid, tagid)
404407
@ );
405408
--- src/schema.c
+++ src/schema.c
@@ -391,14 +391,17 @@
391 @ -- have values assigned to them. So we are not really dealing with
392 @ -- tags here. These are really properties. But we are going to
393 @ -- keep calling them tags because in many cases the value is ignored.
394 @ --
395 @ CREATE TABLE tagxref(
396 @ tagid INTEGER REFERENCES tag, -- The tag that added or removed
 
397 @ tagtype INTEGER, -- 0:-,cancel 1:+,single 2:*,propagate
398 @ srcid INTEGER REFERENCES blob, -- Artifact of tag. 0 for propagated tags
399 @ origid INTEGER REFERENCES blob, -- check-in holding propagated tag
 
 
400 @ value TEXT, -- Value of the tag. Might be NULL.
401 @ mtime TIMESTAMP, -- Time of addition or removal. Julian day
402 @ rid INTEGER REFERENCE blob, -- Artifact tag is applied to
403 @ UNIQUE(rid, tagid)
404 @ );
405
--- src/schema.c
+++ src/schema.c
@@ -391,14 +391,17 @@
391 @ -- have values assigned to them. So we are not really dealing with
392 @ -- tags here. These are really properties. But we are going to
393 @ -- keep calling them tags because in many cases the value is ignored.
394 @ --
395 @ CREATE TABLE tagxref(
396 @ tagid INTEGER REFERENCES tag, -- The tag being added, removed,
397 @ -- or propagated
398 @ tagtype INTEGER, -- 0:-,cancel 1:+,single 2:*,propagate
399 @ srcid INTEGER REFERENCES blob, -- Artifact tag originates from, or
400 @ -- 0 for propagated tags
401 @ origid INTEGER REFERENCES blob, -- Artifact holding propagated tag
402 @ -- (any artifact type with a P-card)
403 @ value TEXT, -- Value of the tag. Might be NULL.
404 @ mtime TIMESTAMP, -- Time of addition or removal. Julian day
405 @ rid INTEGER REFERENCE blob, -- Artifact tag is applied to
406 @ UNIQUE(rid, tagid)
407 @ );
408

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button