Remove unnecessary table identifier

This commit is contained in:
Joey Yakimowich-Payne 2020-08-31 15:35:17 -06:00
commit 4f8a585049

View file

@ -369,9 +369,9 @@ proc selectLikes(postId: int): seq[User] =
proc selectThreadAuthor(threadId: int): User = proc selectThreadAuthor(threadId: int): User =
const authorQuery = const authorQuery =
sql""" sql"""
select u.id, name, email, strftime('%s', lastOnline), select id, name, email, strftime('%s', lastOnline),
strftime('%s', previousVisitAt), status, isDeleted strftime('%s', previousVisitAt), status, isDeleted
from person u where id in ( from person where id in (
select author from post select author from post
where thread = ? where thread = ?
order by id order by id