aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-11-21 20:50:36 +0000
committerChristopher Baines <mail@cbaines.net>2019-11-21 20:50:36 +0000
commit152910ec9c6aaddecdd4f3e20fe7c9aeace6d2b9 (patch)
tree5a8bea06749b6ffd7d48744a55825eea6df08e14 /guix-data-service
parent75d5e4b9d5bdaf86329b33f25b824c506e190b79 (diff)
downloaddata-service-152910ec9c6aaddecdd4f3e20fe7c9aeace6d2b9.tar
data-service-152910ec9c6aaddecdd4f3e20fe7c9aeace6d2b9.tar.gz
Include the datetime in select-guix-revision-for-branch-and-datetime
Diffstat (limited to 'guix-data-service')
-rw-r--r--guix-data-service/model/guix-revision.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/model/guix-revision.scm b/guix-data-service/model/guix-revision.scm
index 8578008..042e776 100644
--- a/guix-data-service/model/guix-revision.scm
+++ b/guix-data-service/model/guix-revision.scm
@@ -67,7 +67,8 @@
SELECT guix_revisions.id,
guix_revisions.commit,
guix_revisions.store_path,
- guix_revisions.git_repository_id
+ guix_revisions.git_repository_id,
+ git_branches.datetime
FROM guix_revisions
INNER JOIN git_branches
ON git_branches.commit = guix_revisions.commit