Skip to content

Commit 7f387fc

Browse files
jamietannaClaude Sonnet 4.6
andcommitted
chore: update comments
Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
1 parent 1b9c80f commit 7f387fc

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

evidence/pages/open-discussions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ select
440440
from
441441
json_each(labels)
442442
where
443-
-- NOTE **??**
443+
-- NOTE: json_each returns raw JSON values, so string entries include surrounding quotes
444444
value like '"auto:%'
445445
)
446446
) as series,

internal/db/schema.sql

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ create table if not exists discussions (
44
url text not null,
55
state text check(
66
state in (
7-
-- a custom **??**
7+
-- a custom value to denote a currently open Discussion, as 'OPEN' is the implied state
88
'OPEN',
99
-- GraphQL entries for DiscussionStateReason
1010
'RESOLVED',
@@ -14,9 +14,8 @@ create table if not exists discussions (
1414
)
1515
) not null,
1616
created_at text not null,
17-
-- updated_at is the **??**j
18-
-- Discussion.updatedAt
19-
-- indicates the **??**, including comments, but doesn't include a comment being edited
17+
-- updated_at stores the GitHub Discussion.updatedAt value
18+
-- indicates the last time the Discussion was updated, including comments, but doesn't include a comment being edited
2019
updated_at text not null,
2120
closed_at text,
2221
author text not null,
@@ -34,7 +33,7 @@ create table if not exists discussion_comments (
3433
created_at text not null,
3534
updated_at text not null,
3635
author text not null,
37-
-- NOTE **??**
36+
-- NOTE: NULL for top-level comments (not replies)
3837
reply_to text
3938
);
4039

0 commit comments

Comments
 (0)