mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 19:33:27 +01:00
Count capitalization
This commit is contained in:
parent
ccccae9aad
commit
e3debf4315
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ const (
|
|||
ORDER BY time ASC
|
||||
`
|
||||
selectMessagesCountQuery = `SELECT COUNT(*) FROM messages`
|
||||
selectMessageCountForTopicQuery = `SELECT count(*) FROM messages WHERE topic = ?`
|
||||
selectMessageCountForTopicQuery = `SELECT COUNT(*) FROM messages WHERE topic = ?`
|
||||
selectTopicsQuery = `SELECT topic, MAX(time) FROM messages GROUP BY topic`
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue