Fossil SCM
Minor updates to the schema docs for the tagxref table. No functional changes.
Commit
3037be63e21c1499a891c6835d980c4edeeee4afbd8fcbfeccd4996b10d7562c
Parent
9c1f486f9da49fd…
1 file changed
+6
-3
+6
-3
| --- src/schema.c | ||
| +++ src/schema.c | ||
| @@ -391,14 +391,17 @@ | ||
| 391 | 391 | @ -- have values assigned to them. So we are not really dealing with |
| 392 | 392 | @ -- tags here. These are really properties. But we are going to |
| 393 | 393 | @ -- keep calling them tags because in many cases the value is ignored. |
| 394 | 394 | @ -- |
| 395 | 395 | @ 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 | |
| 397 | 398 | @ 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) | |
| 400 | 403 | @ value TEXT, -- Value of the tag. Might be NULL. |
| 401 | 404 | @ mtime TIMESTAMP, -- Time of addition or removal. Julian day |
| 402 | 405 | @ rid INTEGER REFERENCE blob, -- Artifact tag is applied to |
| 403 | 406 | @ UNIQUE(rid, tagid) |
| 404 | 407 | @ ); |
| 405 | 408 |
| --- 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 |