added todo keyword to the sql database

This commit is contained in:
ndwarshuis 2018-12-25 01:50:48 -05:00
parent bf3a252eae
commit f78b3882ce
1 changed files with 3 additions and 0 deletions

View File

@ -2709,6 +2709,7 @@ time_created DATE,
time_closed DATE, time_closed DATE,
time_scheduled DATE, time_scheduled DATE,
time_deadlined DATE, time_deadlined DATE,
keyword TEXT,
effort TIME, effort TIME,
priority INTEGER, priority INTEGER,
content TEXT, content TEXT,
@ -2998,6 +2999,7 @@ ARCHIVE-FILE-PATH is the file path to the currently parsed archive file."
(time-closed (nd/org-element-timestamp-raw :closed headline)) (time-closed (nd/org-element-timestamp-raw :closed headline))
(time-scheduled (nd/org-element-timestamp-raw :scheduled headline)) (time-scheduled (nd/org-element-timestamp-raw :scheduled headline))
(time-deadline (nd/org-element-timestamp-raw :deadline headline)) (time-deadline (nd/org-element-timestamp-raw :deadline headline))
(keyword (org-element-property :todo-keyword headline))
(effort (org-element-property :EFFORT headline)) (effort (org-element-property :EFFORT headline))
(priority (org-element-property :priority headline)) (priority (org-element-property :priority headline))
(headline-data (list archive-file-path (headline-data (list archive-file-path
@ -3010,6 +3012,7 @@ ARCHIVE-FILE-PATH is the file path to the currently parsed archive file."
time-closed time-closed
time-scheduled time-scheduled
time-deadline time-deadline
keyword
effort effort
priority priority
;; TODO add contents ;; TODO add contents