Skip to content

Commit

Permalink
fix: download from prescriptions channel
Browse files Browse the repository at this point in the history
  • Loading branch information
huantianad authored Feb 4, 2025
1 parent 12c1129 commit aca7138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/database.nim
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ proc setupDbConnection*(): DbConn =
level
LEFT JOIN status ON status.id = level.id
WHERE COALESCE(status.approval, 0) > 0
AND (source = 'yeoldesheet' OR source = 'rdl')
AND (source = 'yeoldesheet' OR source = 'rdl' OR source = 'prescriptions')
"""
else: sql"""
CREATE TEMP VIEW orchardLevels AS
Expand All @@ -58,6 +58,6 @@ proc setupDbConnection*(): DbConn =
FROM
level
LEFT JOIN status ON status.id = level.id
WHERE source = 'yeoldesheet' OR source = 'rdl'
WHERE source = 'yeoldesheet' OR source = 'rdl' OR source = 'prescriptions'
"""
result.exec(viewQuery)

0 comments on commit aca7138

Please sign in to comment.