Fossil SCM

Fix a comment describing the meaning of the BACKLINK.SRCID field of the repository schema. No changes to code.

drh 2019-12-26 02:08 trunk
Commit 088aabafd7e50ba5d0ad30593f500146ad89d3515ea6ae2bab1ddcd49d29b428
1 file changed +1 -1
+1 -1
--- src/schema.c
+++ src/schema.c
@@ -402,11 +402,11 @@
402402
@ -- facilitate the display of "back links".
403403
@ --
404404
@ CREATE TABLE backlink(
405405
@ target TEXT, -- Where the hyperlink points to
406406
@ srctype INT, -- 0: check-in 1: ticket 2: wiki
407
-@ srcid INT, -- rid for check-in or wiki. tkt_id for ticket.
407
+@ srcid INT, -- EVENT.OBJID for the source document
408408
@ mtime TIMESTAMP, -- time that the hyperlink was added. Julian day.
409409
@ UNIQUE(target, srctype, srcid)
410410
@ );
411411
@ CREATE INDEX backlink_src ON backlink(srcid, srctype);
412412
@
413413
--- src/schema.c
+++ src/schema.c
@@ -402,11 +402,11 @@
402 @ -- facilitate the display of "back links".
403 @ --
404 @ CREATE TABLE backlink(
405 @ target TEXT, -- Where the hyperlink points to
406 @ srctype INT, -- 0: check-in 1: ticket 2: wiki
407 @ srcid INT, -- rid for check-in or wiki. tkt_id for ticket.
408 @ mtime TIMESTAMP, -- time that the hyperlink was added. Julian day.
409 @ UNIQUE(target, srctype, srcid)
410 @ );
411 @ CREATE INDEX backlink_src ON backlink(srcid, srctype);
412 @
413
--- src/schema.c
+++ src/schema.c
@@ -402,11 +402,11 @@
402 @ -- facilitate the display of "back links".
403 @ --
404 @ CREATE TABLE backlink(
405 @ target TEXT, -- Where the hyperlink points to
406 @ srctype INT, -- 0: check-in 1: ticket 2: wiki
407 @ srcid INT, -- EVENT.OBJID for the source document
408 @ mtime TIMESTAMP, -- time that the hyperlink was added. Julian day.
409 @ UNIQUE(target, srctype, srcid)
410 @ );
411 @ CREATE INDEX backlink_src ON backlink(srcid, srctype);
412 @
413

Keyboard Shortcuts

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