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 =
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue