Remove unnecessary table identifier
This commit is contained in:
parent
ce3de27fb9
commit
4f8a585049
1 changed files with 2 additions and 2 deletions
|
|
@ -369,9 +369,9 @@ proc selectLikes(postId: int): seq[User] =
|
|||
proc selectThreadAuthor(threadId: int): User =
|
||||
const authorQuery =
|
||||
sql"""
|
||||
select u.id, name, email, strftime('%s', lastOnline),
|
||||
select id, name, email, strftime('%s', lastOnline),
|
||||
strftime('%s', previousVisitAt), status, isDeleted
|
||||
from person u where id in (
|
||||
from person where id in (
|
||||
select author from post
|
||||
where thread = ?
|
||||
order by id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue