File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff 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,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments