aboutsummaryrefslogtreecommitdiff
path: root/entities
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-03-28 02:48:32 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-03-28 02:48:50 +0900
commit727d7759e0a733c4575de5431160fbd090371728 (patch)
tree18826c18e097a36c86394c051c98b4776f73fdbe /entities
parentc114d5cedab38a2f6683eabb7c98e9943eecf8bf (diff)
Add source column to articles table.HEADmain
Diffstat (limited to 'entities')
-rw-r--r--entities/article.rkt3
1 files changed, 3 insertions, 0 deletions
diff --git a/entities/article.rkt b/entities/article.rkt
index 14319d7..4da6cec 100644
--- a/entities/article.rkt
+++ b/entities/article.rkt
@@ -6,6 +6,7 @@
article-id
article-timestamp
article-hash
+ article-source
article-title
article-body
@@ -18,6 +19,7 @@
(struct article ([id : String]
[timestamp : date]
[hash : String]
+ [source : String]
[title : String]
[body : String])
#:type-name Article
@@ -34,6 +36,7 @@
(make-article-with-tags (article-id a)
(article-timestamp a)
(article-hash a)
+ (article-source a)
(article-title a)
(article-body a)
tags))